Skip to content

Fix error handling in hfsplus mount failure paths

Chuck Ebbert lkml 1 version In review

Get series with b4
b4 am 20110201162802.2dd07201@katamari

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hfsplus: Don't leak buffer on errorfs/hfsplus/part_tbl.c+2 -21 reply
2/4hfsplus: Skip cleanup on early mount failuresfs/hfsplus/super.c+6 -50 replies
3/4hfsplus: Clear volume header pointers on failurefs/hfsplus/wrapper.c+4 -21 reply
4/4hfsplus: Check for NULL volume header in put_super()fs/hfsplus/super.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch 0/4] Fix error handling in hfsplus mount failure paths

hfsplus can generate NULL pointer exceptions when a user attempts to mount an invalid filesystem. In some paths it also leaks memory.

This series attempts to fix some of the most obvious problems.