android_kernel_xiaomi_sm8350/fs/isofs
Jan Kara 2deb1acc65 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>
2008-04-30 08:29:33 -07:00
..
compress.c zisofs: fix readpage() outside i_size 2008-03-19 18:53:36 -07:00
dir.c isofs: fix access to unallocated memory when reading corrupted filesystem 2008-04-30 08:29:33 -07:00
export.c iget: stop ISOFS from using read_inode() 2008-02-07 08:42:28 -08:00
inode.c mount options: fix isofs 2008-02-08 09:22:40 -08:00
isofs.h isofs: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
joliet.c isofs: fix up CodingStyle 2007-07-16 09:05:42 -07:00
Makefile
namei.c isofs: fix access to unallocated memory when reading corrupted filesystem 2008-04-30 08:29:33 -07:00
rock.c iget: stop ISOFS from using read_inode() 2008-02-07 08:42:28 -08:00
rock.h
util.c
zisofs.h