Blame SOURCES/0010-signerInfos-make-sure-err-is-always-initialized.patch

0ac9f2
From 799808b265ac6f82fa1268fd696d70357acce69c Mon Sep 17 00:00:00 2001
0ac9f2
From: Peter Jones <pjones@redhat.com>
0ac9f2
Date: Tue, 25 Apr 2017 16:15:07 -0400
0ac9f2
Subject: [PATCH 10/29] signerInfos: make sure err is always initialized
0ac9f2
0ac9f2
Signed-off-by: Peter Jones <pjones@redhat.com>
0ac9f2
---
0ac9f2
 src/signed_data.c | 3 ++-
0ac9f2
 1 file changed, 2 insertions(+), 1 deletion(-)
0ac9f2
0ac9f2
diff --git a/src/signed_data.c b/src/signed_data.c
0ac9f2
index 721db90..9e0af23 100644
0ac9f2
--- a/src/signed_data.c
0ac9f2
+++ b/src/signed_data.c
0ac9f2
@@ -132,7 +132,8 @@ int
0ac9f2
 generate_signerInfo_list(cms_context *cms, SpcSignerInfo ***signerInfo_list_p, SignerInfoType type)
0ac9f2
 {
0ac9f2
 	SpcSignerInfo **signerInfo_list;
0ac9f2
-	int err, rc;
0ac9f2
+	int err = 0;
0ac9f2
+	int rc;
0ac9f2
 
0ac9f2
 	if (!signerInfo_list_p)
0ac9f2
 		return -1;
0ac9f2
-- 
0ac9f2
2.13.4
0ac9f2