diff options
| author | Jan Kara <jack@suse.cz> | 2014-12-18 22:37:50 +0100 |
|---|---|---|
| committer | dev-harsh1998 <harshit.india@linaro.org> | 2017-07-15 09:37:07 +0200 |
| commit | 7a225442965c00a2c06a1d7273c98c9d9535cc6c (patch) | |
| tree | b18fbc9dc1312a3315f9c63f385184768512bea8 /net/lapb/lapb_timer.c | |
| parent | fc474ff61d502450a9a3fb13b027779c595ca719 (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: I3b9106eaf9ce09df4e5db8bb94eb52fd0e0f966f
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
