diff options
author | Jan Kara | 2014-12-19 12:21:47 +0100 |
---|---|---|
committer | Jan Kara | 2014-12-19 13:17:10 +0100 |
commit | a1d47b262952a45aae62bd49cfaf33dd76c11a2c (patch) | |
tree | 92c3c45e582c0fb7f160ecfd0126dc6a612a879b /fs/open.c | |
parent | e159332b9af4b04d882dbcfe1bb0117f0a6d4b58 (diff) |
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/open.c')
0 files changed, 0 insertions, 0 deletions