Blame SOURCES/0157-testsuite-ureport-initialize-post_state.patch

28bab8
From 7a25410b60a3b4789316aae331e1f5a800704f3a Mon Sep 17 00:00:00 2001
28bab8
From: Jakub Filak <jfilak@redhat.com>
28bab8
Date: Thu, 17 Sep 2015 13:49:50 +0200
28bab8
Subject: [PATCH] testsuite: ureport: initialize post_state
28bab8
28bab8
Signed-off-by: Jakub Filak <jfilak@redhat.com>
28bab8
---
28bab8
 tests/ureport.at | 1 +
28bab8
 1 file changed, 1 insertion(+)
28bab8
28bab8
diff --git a/tests/ureport.at b/tests/ureport.at
28bab8
index b5f79df..2e844b7 100644
28bab8
--- a/tests/ureport.at
28bab8
+++ b/tests/ureport.at
28bab8
@@ -704,6 +704,7 @@ int main(void)
28bab8
 
28bab8
     /* curl_resul is not CURL_OK */
28bab8
     struct post_state ps;
28bab8
+    memset((void *)&ps, 0, sizeof(ps));
28bab8
 
28bab8
     ps.curl_result = 1;
28bab8
     strcpy(ps.errmsg, "err");
28bab8
-- 
28bab8
2.4.3
28bab8