Commit a18e179a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] isofs buffer management fix

There's a double-free in the isofs filesystem.

Invalidate this pointer so it doesn't get freed twice.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7d783796
......@@ -62,7 +62,7 @@
}
#define MAYBE_CONTINUE(LABEL,DEV) \
{if (buffer) kfree(buffer); \
{if (buffer) { kfree(buffer); buffer = NULL; } \
if (cont_extent){ \
int block, offset, offset1; \
struct buffer_head * pbh; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment