summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-02-08 17:39:01 +0100
committerJan Kara <jack@suse.cz>2018-02-16 11:14:41 +0100
commit91c9c9ec54c1e88d9ef59a7b12cf31d6ef5d1e58 (patch)
tree9ca7e1fbc0013be28c98d09cf8965de749732b4e /fs/jffs2/summary.h
parentinotify: Extend ioctl to allow to request id of new watch descriptor (diff)
downloadlinux-91c9c9ec54c1e88d9ef59a7b12cf31d6ef5d1e58.tar.xz
linux-91c9c9ec54c1e88d9ef59a7b12cf31d6ef5d1e58.zip
udf: Fix off-by-one in volume descriptor sequence length
We pass one block beyond end of volume descriptor sequence into process_sequence() as 'lastblock' instead of the last block of the sequence. When the sequence is not terminated with TD descriptor, this could lead to false errors due to invalid blocks in volume descriptor sequence and thus unmountable volumes. Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/jffs2/summary.h')
0 files changed, 0 insertions, 0 deletions