From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/rgmanager/src/daemons main.c
Date: 21 Aug 2007 16:39:02 -0000 [thread overview]
Message-ID: <20070821163902.19629.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rmccabe at 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);
}
next reply other threads:[~2007-08-21 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 16:39 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-21 18:18 [Cluster-devel] cluster/rgmanager/src/daemons main.c rmccabe
2007-04-19 20:20 lhh
2006-09-25 20:16 lhh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070821163902.19629.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).