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

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