alistair23-linux/fs/squashfs
Phillip Lougher 52e9ce1c0f Squashfs: fix corruption checks in squashfs_lookup()
The dir_count and size fields when read from disk are sanity
checked for correctness.  However, the sanity checks only check the
values are not greater than expected.  As dir_count and size were
incorrectly defined as signed ints, this can lead to corrupted values
appearing as negative which are not trapped.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
2013-09-06 04:57:53 +01:00
..
block.c Squashfs: Optimized uncompressed buffer loop 2013-09-05 00:13:37 +01:00
cache.c
decompressor.c
decompressor.h
dir.c [readdir] convert squashfs 2013-06-29 12:56:28 +04:00
export.c
file.c squashfs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:25 +08:00
fragment.c
id.c
inode.c userns: Convert squashfs to use kuid/kgid where appropriate 2012-09-21 03:13:35 -07:00
Kconfig
lzo_wrapper.c
Makefile
namei.c Squashfs: fix corruption checks in squashfs_lookup() 2013-09-06 04:57:53 +01:00
squashfs.h
squashfs_fs.h Squashfs: get rid of obsolete definitions in header file 2012-03-10 03:01:01 +00:00
squashfs_fs_i.h
squashfs_fs_sb.h
super.c fs: Limit sys_mount to only request filesystem modules. (Part 3) 2013-03-11 07:09:48 -07:00
symlink.c squashfs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:25 +08:00
xattr.c
xattr.h
xattr_id.c
xz_wrapper.c
zlib_wrapper.c