]> git.baikalelectronics.ru Git - kernel.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)
commita783f7d5f1262c6f8870f5e74f66f21a3b0ff17b
tree3d2e45673794c8d5d6a3627ec1843dc14cb994eb
parentd8ad3e999ddaed9f210e4db260f66179ba1b454f
[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