]> 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)
commitcd651171dac2a035bc575b626ba1f376d78621cf
treec251a8e5aab3af60b93b5db21569c62aa0ace7a3
parent3c1e577df3a7fd0b1cc013e3834fbd29050fd897
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