]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] coverity: udf/balloc.c null deref fix
authorKAMBAROV, ZAUR <kambarov@berkeley.edu>
Fri, 3 Feb 2006 11:04:49 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:11 +0000 (08:32 -0800)
commit99603966f5b44693901ea68cef2c1c21ce6a49c3
tree3d2e45673794c8d5d6a3627ec1843dc14cb994eb
parent7656f328f68b351a8bb71ad465cedc8d0a039f9e
[PATCH] coverity: udf/balloc.c null deref fix

It's doing

if (obh)
<stuff>
else
dereference obh

So presumably `obh' is never null in there.

This defect was found automatically by Coverity Prevent, a static analysis
tool.

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/udf/balloc.c