ctdb-tools: Fix CID 1364699 - dereference after null check
authorAmitay Isaacs <amitay@gmail.com>
Thu, 4 Aug 2016 05:37:33 +0000 (15:37 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 10 Aug 2016 09:24:36 +0000 (11:24 +0200)
commitf0fe4f12c5a6e62f8a085af5c7a9bb905adca213
treef4d9e3d57684f6eb43931ac16fe0de4b8c9da6f9
parentfe1ca7a68f10f739e33521f022a8efa3cb987853
ctdb-tools: Fix CID 1364699 - dereference after null check

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12121

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit bf1dab28d1d5887f39739eb29537727d97054c5d)
ctdb/tools/ctdb.c