aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorEric Sesterhenn <[email protected]>2008-05-12 21:02:21 +0000
committerLinus Torvalds <[email protected]>2008-05-13 15:02:24 +0000
commit706322496b3a58af3cf258db2b553d6933656eef (patch)
treeec64bbc9e20be4a5b2baf9dcbb3e2201e822c97f /lib/bitmap.c
parentparisc: fix DISCONTIGMEM compile breakage (diff)
downloadkernel-706322496b3a58af3cf258db2b553d6933656eef.tar.gz
kernel-706322496b3a58af3cf258db2b553d6933656eef.zip
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]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions