summaryrefslogtreecommitdiffstats
path: root/fs/udf/dir.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-12-19 12:21:47 +0100
committerJan Kara <jack@suse.cz>2014-12-19 13:17:10 +0100
commita1d47b262952a45aae62bd49cfaf33dd76c11a2c (patch)
tree92c3c45e582c0fb7f160ecfd0126dc6a612a879b /fs/udf/dir.c
parente159332b9af4b04d882dbcfe1bb0117f0a6d4b58 (diff)
downloadlinux-stable-a1d47b262952a45aae62bd49cfaf33dd76c11a2c.tar.gz
linux-stable-a1d47b262952a45aae62bd49cfaf33dd76c11a2c.tar.bz2
linux-stable-a1d47b262952a45aae62bd49cfaf33dd76c11a2c.zip
udf: Verify symlink size before loading it
UDF specification allows arbitrarily large symlinks. However we support only symlinks at most one block large. Check the length of the symlink so that we don't access memory beyond end of the symlink block. CC: stable@vger.kernel.org Reported-by: Carl Henrik Lunde <chlunde@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/dir.c')
0 files changed, 0 insertions, 0 deletions