alistair23-linux/fs/hfsplus
Naohiro Aota aac4e4198e hfsplus: Add additional range check to handle on-disk corruptions
'recoff' is read from disk and used for an argument to memcpy, so if
the value read from disk is larger than the page size, it result to
"general protection fault". This patch add additional range check for
the value, so that disk fuzz won't cause such fault.

Signed-off-by: Naohiro Aota <naota@elisp.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-07-22 16:36:56 +02:00
..
bfind.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bitmap.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bnode.c hfsplus: %L-to-%ll, macro correction, and remove unneeded braces 2010-12-16 18:08:46 +01:00
brec.c hfsplus: Add additional range check to handle on-disk corruptions 2011-07-22 16:36:56 +02:00
btree.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
catalog.c hfsplus: add error checking for hfs_find_init() 2011-07-07 17:45:46 +02:00
dir.c hfsplus: add error checking for hfs_find_init() 2011-07-07 17:45:46 +02:00
extents.c hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
hfsplus_fs.h hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
hfsplus_raw.h hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
inode.c hfsplus: add error checking for hfs_find_init() 2011-07-07 17:45:46 +02:00
ioctl.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
Kconfig
Makefile
options.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
part_tbl.c hfsplus: do not leak buffer on error 2011-02-03 16:34:05 -07:00
super.c hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
tables.c
unicode.c hfsplus: assignments inside `if' condition clean-up 2011-06-30 13:40:58 +02:00
wrapper.c hfsplus: lift the 2TB size limit 2011-06-30 13:40:59 +02:00