android_kernel_motorola_sm6375/fs/hfsplus
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Sesterhenn 706322496b Fix hfsplus oops on image without extents
Fix an oops with a corrupted hfs+ image.

See http://bugzilla.kernel.org/show_bug.cgi?id=10548 for details.

Problem is that we call hfs_btree_open() from hfsplus_fill_super() to set
HFSPLUS_SB(sb).[ext_tree|cat_tree] Both trees are still NULL at this moment.
If hfs_btree_open() fails for any reason it calls iput() on the page, which
gets to hfsplus_releasepage() which tries to access HFSPLUS_SB(sb).* which is
still NULL and oopses while dereferencing it.

[[email protected]: build fix]
Signed-off-by: Eric Sesterhenn <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-05-13 08:02:24 -07:00
..
bfind.c
bitmap.c
bnode.c
brec.c
btree.c hfsplus: fix warning with 64k PAGE_SIZE 2008-04-30 08:29:52 -07:00
catalog.c
dir.c
extents.c
hfsplus_fs.h
hfsplus_raw.h
inode.c Fix hfsplus oops on image without extents 2008-05-13 08:02:24 -07:00
ioctl.c
Makefile
options.c
part_tbl.c
super.c
tables.c
unicode.c
wrapper.c