diff options
author | Jan Kara <jack@suse.cz> | 2008-04-30 00:52:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 08:29:33 -0700 |
commit | 2deb1acc653cbd5384b107d050d2deba089db2bd (patch) | |
tree | 8d9a944b7f5b08b27d849a1aaa20d6ee3851ae9e /drivers/scsi/g_NCR5380.h | |
parent | 6bfe0b499082fd3950429017cd8ebf2a6c458aa5 (diff) |
isofs: fix access to unallocated memory when reading corrupted filesystem
When a directory on isofs is corrupted, we did not check whether length of the
name in a directory entry and the length of the directory entry itself are
consistent. This could lead to possible access beyond the end of buffer when
the length of the name was too big. Add this sanity check to directory
reading code.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/g_NCR5380.h')
0 files changed, 0 insertions, 0 deletions