aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/hfsplus_raw.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-15 11:37:32 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-15 12:37:34 -0500
commitf13b83580acef03a36c785dccc534ccdd7e43084 (patch)
tree1252d76d1e36602024c6dcf0c9afc5688e7bde85 /fs/hfsplus/hfsplus_raw.h
parent74c002410548c7cb1744b45d17a5fa21da515b63 (diff)
[PATCH] fs/namespace.c:dup_namespace(): fix a use after free
The Coverity checker spotted the following bug in dup_namespace(): <-- snip --> if (!new_ns->root) { up_write(&namespace_sem); kfree(new_ns); goto out; } ... out: return new_ns; <-- snip --> Callers expect a non-NULL result to not be freed. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hfsplus/hfsplus_raw.h')
0 files changed, 0 insertions, 0 deletions