This patch fixes a crash in cpg.c where a group is left befopre
cpg_finalise is called. It can cause the process_info structure to be
removed twice from the group list.

-- 

Chrissie
Index: services/cpg.c
===================================================================
--- services/cpg.c	(revision 1880)
+++ services/cpg.c	(working copy)
@@ -493,7 +493,8 @@
 		notify_info.reason = CONFCHG_CPG_REASON_PROCDOWN;
 		cpg_node_joinleave_send(gi, pi, MESSAGE_REQ_EXEC_CPG_PROCLEAVE, CONFCHG_CPG_REASON_PROCDOWN);
 	}
-	list_del(&pi->list);
+	if (pi->pid)
+		list_del(&pi->list);
 	api->ipc_refcnt_dec (conn);
 	return (0);
 }
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to