ctdb-common: Fix CID 1125581 Dereference after null check (FORWARD_NULL)
authorMartin Schwenke <martin@meltin.net>
Fri, 5 Aug 2016 06:37:00 +0000 (16:37 +1000)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Aug 2016 09:37:23 +0000 (11:37 +0200)
commit49211ba72232909a4c44df7a3204dbb57b67fbe4
tree1931d809c99da9e4f386aa2cf1b14b1c0e0627c6
parent1f47aa8e6d49d05d90fa51c2bf3df9bc705ab976
ctdb-common: Fix CID 1125581 Dereference after null check (FORWARD_NULL)

This also fixes CID 1125582.

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>
(cherry picked from commit 7ae3699831427725f12e0a26a0681e59f2fbb2d9)
ctdb/common/rb_tree.c