Signed-off-by: Jan Friesse <[email protected]>
---
exec/votequorum.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/exec/votequorum.c b/exec/votequorum.c
index b561409..131b734 100644
--- a/exec/votequorum.c
+++ b/exec/votequorum.c
@@ -1634,6 +1634,9 @@ static void message_handler_req_exec_votequorum_nodeinfo (
if (nodeid == VOTEQUORUM_QDEVICE_NODEID) {
struct cluster_node *sender_node =
find_node_by_nodeid(sender_nodeid);
+
+ assert(sender_node != NULL);
+
if ((!cluster_is_quorate) &&
(sender_node->flags & NODE_FLAGS_QUORATE)) {
node->votes = req_exec_quorum_nodeinfo->votes;
--
1.7.1
_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss