diff options
| author | Jan Kara <jack@suse.cz> | 2014-12-18 22:37:50 +0100 |
|---|---|---|
| committer | Flex1911 <dedsa2002@gmail.com> | 2017-07-10 01:48:57 +0300 |
| commit | 6f25be195ebd5baee38cfb1d90a7acbc5cb736a4 (patch) | |
| tree | 790ee98303f0011aac37385470a03023c3211a94 /lib/mpi/mpi-inline.c | |
| parent | 14d798ddab629e309d90d3eb9453b76e72149351 (diff) | |
udf: Check path length when reading symlink
Symlink reading code does not check whether the resulting path fits into
the page provided by the generic code. This isn't as easy as just
checking the symlink size because of various encoding conversions we
perform on path. So we have to check whether there is still enough space
in the buffer on the fly.
Change-Id: Id56d129029eaf2e651cf7236103fb73aa540ae1f
CC: stable@vger.kernel.org
Reported-by: Carl Henrik Lunde <chlunde@ping.uio.no>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
