[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager/src/daemons main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe sourceware org	2007-08-21 18:18:37

Modified files:
	rgmanager/src/daemons: main.c 

Log message:
	Fix access beyond allocated memory

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/main.c.diff?cvsroot=cluster&r1=1.42&r2=1.43

--- cluster/rgmanager/src/daemons/main.c	2007/08/02 14:53:38	1.42
+++ cluster/rgmanager/src/daemons/main.c	2007/08/21 18:18:37	1.43
@@ -104,8 +104,7 @@
 					ml->cml_members[x].cn_nodeid, 0);
 		}
 	}
-	msg_send_simple(ctx, RG_SUCCESS,
-			ml->cml_members[x].cn_nodeid, 0);
+	msg_send_simple(ctx, RG_SUCCESS, 0, 0);
 	msg_receive(ctx, &hdr, sizeof(hdr), 10);
 	free_member_list(ml);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]