diff options
| author | Jan Kara <jack@suse.cz> | 2014-12-18 22:37:50 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-16 15:03:44 +0200 |
| commit | dc9e83cd8b989e546734402ac7dbcfa09edf54b2 (patch) | |
| tree | 6c3157f394c2f856fb221e872c2408202833190d /include/linux | |
| parent | 01be8291f7254f058675a12c11b8a131a9f16d4b (diff) | |
BACKPORT: 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.
Upstream commit: 0e5cc9a40ada6046e6bc3bdfcd0c0d7e4b706b14
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
