From a2e507c629c29369dc313118f3851fc5bba98ae5 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 1 Nov 2005 13:09:00 +0000 Subject: [PATCH] Fix potential segv through uninitialized variable This commit was SVN r7946. --- orte/mca/gpr/replica/communications/gpr_replica_put_get_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/gpr/replica/communications/gpr_replica_put_get_cm.c b/orte/mca/gpr/replica/communications/gpr_replica_put_get_cm.c index 473ffe035c..9c2fcdcf72 100644 --- a/orte/mca/gpr/replica/communications/gpr_replica_put_get_cm.c +++ b/orte/mca/gpr/replica/communications/gpr_replica_put_get_cm.c @@ -308,7 +308,7 @@ int orte_gpr_replica_recv_get_conditional_cmd(orte_buffer_t *input_buffer, orte_gpr_replica_segment_t *seg=NULL; orte_gpr_replica_itag_t *tokentags=NULL, *keytags=NULL; orte_gpr_keyval_t **conditions; - orte_gpr_replica_itagval_t **conds; + orte_gpr_replica_itagval_t **conds = NULL; int rc, ret; char *segment=NULL, **tokens=NULL, **keys=NULL; size_t i=0, cnt=0;