linux-uconsole/fs/hfsplus
Seth Forshee d2a0110b7f hfsplus: Fix kfree of wrong pointers in hfsplus_fill_super() error path
commit f588c960fc upstream.

Commit 6596528e39 ("hfsplus: ensure bio requests are not smaller than
the hardware sectors") changed the pointers used for volume header
allocations but failed to free the correct pointers in the error path
path of hfsplus_fill_super() and hfsplus_read_wrapper.

The second hunk came from a separate patch by Pavel Ivanov.

Reported-by: Pavel Ivanov <paivanof@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-10-25 07:10:17 +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: 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: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
dir.c hfsplus: remove unnecessary dentry_unhash on rmdir, dir rename 2011-05-28 01:02:52 -04: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 kfree of wrong pointers in hfsplus_fill_super() error path 2011-10-25 07:10:17 +02:00