Whamcloud - gitweb
[COVERITY] Free potential null dereference bug in e2fsck
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 31 May 2007 15:42:48 +0000 (11:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 May 2007 15:42:48 +0000 (11:42 -0400)
commit8f234d9650eb6f6a897148d5136cb27f373de4a7
tree0f92e17a5fb8194493165f6aa2e8be1a6df9360d
parent21400381d90a1e58443e1e2c3f52f8fd5550be9d
[COVERITY] Free potential null dereference bug in e2fsck

At the second conditional iter->file could still be NULL. We need to
check for it again.  Should never happen in practice, but better to be
sure.

Coverity ID: 6: Forward Null

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/ChangeLog
e2fsck/profile.c