]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ocfs2/cluster/tcp.c: fix possible null pointer dereferences
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 11 Sep 2013 21:19:49 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:56:34 +0000 (15:56 -0700)
commitc93450476878f9dd91c69c2f034102ca55e5fdb0
treec251a8e5aab3af60b93b5db21569c62aa0ace7a3
parentfdc49fdc59f515387f5f0b89ad3ff1c66eb31d0e
fs/ocfs2/cluster/tcp.c: fix possible null pointer dereferences

Fix some possible null pointer dereferences that were detected by the
static code analyser, smatch.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Reported-by: Guozhonghua <guozhonghua@h3c.com>
Cc: Sunil Mushran <sunil.mushran@gmail.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/tcp.c