public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* RHEL5 - [fence] Fix fence_xvmd trying to read wrong args from ccs
@ 2008-10-15 21:19 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2008-10-15 21:19 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9e2755ed4fd4d93cf5af34b5c64663e2536e2940
Commit:        9e2755ed4fd4d93cf5af34b5c64663e2536e2940
Parent:        ea8e447f55864271a645a0b5ab32fb383bb8ad96
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Wed Oct 15 15:19:11 2008 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Wed Oct 15 15:20:57 2008 -0400

[fence] Fix fence_xvmd trying to read wrong args from ccs

---
 fence/agents/xvm/options-ccs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fence/agents/xvm/options-ccs.c b/fence/agents/xvm/options-ccs.c
index 84ed873..41863e1 100644
--- a/fence/agents/xvm/options-ccs.c
+++ b/fence/agents/xvm/options-ccs.c
@@ -83,6 +83,9 @@ args_get_ccs(char *optstr, fence_xvm_args_t *args)
 			continue;
 		}
 
+		if (!arg->stdin_opt)
+			continue;
+
 		n = snprintf(buf, sizeof(buf), "/cluster/fence_xvmd/@%s\n",
 			     arg->stdin_opt);
 		if (n == sizeof(buf)) {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-15 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-15 21:19 RHEL5 - [fence] Fix fence_xvmd trying to read wrong args from ccs Lon Hohberger

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 read-only IMAP folder(s) and NNTP newsgroup(s).