summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/file.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-12-19 14:27:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-08 10:27:49 -0800
commit9bf2101c8652912de03d6df278834723e5ffad0b (patch)
treec78e7805916ef43fc3bfee5f7cd2f96600244216 /fs/ecryptfs/file.c
parent974d3824af6b030ab9cf689918c8604ebc4df769 (diff)
udf: Check component length before reading it
commit e237ec37ec154564f8690c5bd1795339955eeef9 upstream. Check that length specified in a component of a symlink fits in the input buffer we are reading. Also properly ignore component length for component types that do not use it. Otherwise we read memory after end of buffer for corrupted udf image. Reported-by: Carl Henrik Lunde <chlunde@ping.uio.no> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ecryptfs/file.c')
0 files changed, 0 insertions, 0 deletions