1
linux/fs/squashfs
Phillip Lougher 68e7f41237 Squashfs: fix corruption checks in squashfs_readdir()
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 Squashfs: optimise squashfs_cache_get entry search 2011-12-30 01:24:13 +00:00
decompressor.c
decompressor.h
dir.c Squashfs: fix corruption checks in squashfs_readdir() 2013-09-06 04:57:53 +01: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_fs_i.h
squashfs_fs_sb.h Squashfs: optimise squashfs_cache_get entry search 2011-12-30 01:24:13 +00:00
squashfs_fs.h Squashfs: get rid of obsolete definitions in header file 2012-03-10 03:01:01 +00:00
squashfs.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_id.c
xattr.c
xattr.h
xz_wrapper.c
zlib_wrapper.c