[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
Branch: 	RHEL5
Changes by:	rmccabe sourceware org	2007-08-21 16:39:02

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&only_with_tag=RHEL5&r1=1.34.2.8&r2=1.34.2.9

--- cluster/rgmanager/src/daemons/main.c	2007/08/02 14:46:51	1.34.2.8
+++ cluster/rgmanager/src/daemons/main.c	2007/08/21 16:39:02	1.34.2.9
@@ -103,8 +103,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]