linux-hardened/fs/squashfs
Phillip Lougher 9dbc41d5d3 Squashfs: fix corruption check in get_dir_index_using_name()
Patch "Squashfs: sanity check information from disk" from
Dan Carpenter adds a missing check for corruption in the
"size" field while reading the directory index from disk.

It, however, sets err to -EINVAL, this value is not used later, and
so setting it is completely redundant.  So remove it.

Errors in reading the index are deliberately non-fatal.  If we
get an error in reading the index we just return the part of the
index we have managed to read - the index isn't essential,
just quicker.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
2013-09-06 04:57:52 +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 Squashfs: Make ZLIB compression support optional 2011-07-22 03:01:28 +01:00
decompressor.h Squashfs: Make ZLIB compression support optional 2011-07-22 03:01:28 +01:00
dir.c [readdir] convert squashfs 2013-06-29 12:56:28 +04:00
export.c Squashfs: Fix sanity check patches on big-endian systems 2011-05-29 10:03:09 +01:00
file.c squashfs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:25 +08:00
fragment.c Squashfs: Fix sanity check patches on big-endian systems 2011-05-29 10:03:09 +01:00
id.c Squashfs: Fix sanity check patches on big-endian systems 2011-05-29 10:03:09 +01:00
inode.c userns: Convert squashfs to use kuid/kgid where appropriate 2012-09-21 03:13:35 -07:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-next 2011-11-04 16:48:37 -07:00
lzo_wrapper.c Squashfs: extend decompressor framework to handle compression options 2011-02-28 18:21:59 +00:00
Makefile Squashfs: Make ZLIB compression support optional 2011-07-22 03:01:28 +01:00
namei.c Squashfs: fix corruption check in get_dir_index_using_name() 2013-09-06 04:57:52 +01:00
squashfs.h Squashfs: Make ZLIB compression support optional 2011-07-22 03:01:28 +01:00
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: update email address 2011-05-26 10:49:11 +01:00
squashfs_fs_sb.h Squashfs: optimise squashfs_cache_get entry search 2011-12-30 01:24:13 +00:00
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 Squashfs: update email address 2011-05-26 10:49:11 +01:00
xattr.h Squashfs: update email address 2011-05-26 10:49:11 +01:00
xattr_id.c Squashfs: update email address 2011-05-26 10:49:11 +01:00
xz_wrapper.c Squashfs: update email address 2011-05-26 10:49:11 +01:00
zlib_wrapper.c Squashfs: update email address 2011-05-26 10:49:11 +01:00