linux-uconsole/fs/hfsplus
Janne Kalliomäki 1466988e8b hfsplus: fix overflow in sector calculations in hfsplus_submit_bio
commit a6dc8c0421 upstream.

The variable io_size was unsigned int, which caused the wrong sector number
to be calculated after aligning it. This then caused mount to fail with big
volumes, as backup volume header information was searched from a
wrong sector.

Signed-off-by: Janne Kalliomäki <janne@tuxera.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-22 11:34:14 -07: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: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
btree.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
catalog.c hfsplus: Fix potential buffer overflows 2012-05-07 08:56:50 -07:00
dir.c hfsplus: Fix potential buffer overflows 2012-05-07 08:56:50 -07:00
extents.c hfsplus: fix up a comparism in hfsplus_file_extend 2011-02-03 16:34:18 -07:00
hfsplus_fs.h hfsplus: ensure bio requests are not smaller than the hardware sectors 2011-10-25 07:10:15 +02:00
hfsplus_raw.h hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
inode.c block: remove per-queue plugging 2011-03-10 08:52:07 +01:00
ioctl.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
options.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
part_tbl.c hfsplus: ensure bio requests are not smaller than the hardware sectors 2011-10-25 07:10:15 +02:00
super.c hfsplus: Fix kfree of wrong pointers in hfsplus_fill_super() error path 2011-10-25 07:10:17 +02:00
tables.c
unicode.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/hfsplus 2011-01-07 17:16:27 -08:00
wrapper.c hfsplus: fix overflow in sector calculations in hfsplus_submit_bio 2012-06-22 11:34:14 -07:00