ctdb-common: Fix CID 1125583 Dereference after null check (FORWARD_NULL)
authorMartin Schwenke <martin@meltin.net>
Fri, 5 Aug 2016 06:38:45 +0000 (16:38 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 8 Aug 2016 06:17:34 +0000 (08:17 +0200)
commitbbf0b907cb04184515d0f5f09f14824df1c2e59f
tree6da34537cbadc59e2462d95c3e1189f45fd0d64d
parent7ae3699831427725f12e0a26a0681e59f2fbb2d9
ctdb-common: Fix CID 1125583 Dereference after null check (FORWARD_NULL)

This also fixes CID 1125584.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/rb_tree.c