Blame SOURCES/bz1434528-1-cfg-Prevents-use-of-uninitialized-buffer.patch

3062ca
From 52e6ae57ea06d0bef61c5c9250881bef1372ead2 Mon Sep 17 00:00:00 2001
3062ca
From: Michael Jones <jonesmz@jonesmz.com>
3062ca
Date: Mon, 10 Oct 2016 11:18:25 -0500
3062ca
Subject: [PATCH] cfg: Prevents use of uninitialized buffer
3062ca
3062ca
Signed-off-by: Michael Jones <jonesmz@jonesmz.com>
3062ca
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
3062ca
(cherry picked from commit a24d26c46ace663ac69e469f8e415e14cc1a8906)
3062ca
---
3062ca
 exec/cfg.c |    4 ++--
3062ca
 1 files changed, 2 insertions(+), 2 deletions(-)
3062ca
3062ca
diff --git a/exec/cfg.c b/exec/cfg.c
3062ca
index 4e62d73..a5482ad 100644
3062ca
--- a/exec/cfg.c
3062ca
+++ b/exec/cfg.c
3062ca
@@ -521,8 +521,8 @@ static void message_handler_req_exec_cfg_killnode (
3062ca
 	cs_name_t reason;
3062ca
 
3062ca
 	ENTER();
3062ca
-	log_printf(LOGSYS_LEVEL_DEBUG, "request to kill node %d(us=%d): %s",
3062ca
-		req_exec_cfg_killnode->nodeid, api->totem_nodeid_get(), reason.value);
3062ca
+	log_printf(LOGSYS_LEVEL_DEBUG, "request to kill node %d(us=%d)",
3062ca
+		req_exec_cfg_killnode->nodeid, api->totem_nodeid_get());
3062ca
         if (req_exec_cfg_killnode->nodeid == api->totem_nodeid_get()) {
3062ca
 		marshall_from_mar_name_t(&reason, &req_exec_cfg_killnode->reason);
3062ca
 		log_printf(LOGSYS_LEVEL_NOTICE, "Killed by node %d: %s",
3062ca
-- 
3062ca
1.7.1
3062ca