Blame SOURCES/0096-lib-fix-a-bug-in-ureport-response-parser.patch

0c9110
From adfc3e694448174cd3589f0c0dd93c86f9692f90 Mon Sep 17 00:00:00 2001
0c9110
From: Jakub Filak <jfilak@redhat.com>
0c9110
Date: Wed, 8 Oct 2014 12:37:24 +0200
0c9110
Subject: [LIBREPORT PATCH 96/97] lib: fix a bug in ureport response parser
0c9110
0c9110
Revealed by coverity
0c9110
0c9110
Related to rhbz1139987
0c9110
0c9110
Signed-off-by: Jakub Filak <jfilak@redhat.com>
0c9110
---
0c9110
 src/lib/ureport.c | 1 +
0c9110
 1 file changed, 1 insertion(+)
0c9110
0c9110
diff --git a/src/lib/ureport.c b/src/lib/ureport.c
0c9110
index 7e71c51..0e0472e 100644
0c9110
--- a/src/lib/ureport.c
0c9110
+++ b/src/lib/ureport.c
0c9110
@@ -340,6 +340,7 @@ parse_solution_from_json_list(struct json_object *list,
0c9110
             continue;
0c9110
 
0c9110
         cause = json_object_get_string(struct_elem);
0c9110
+        if (!cause)
0c9110
             continue;
0c9110
 
0c9110
         if (!json_object_object_get_ex(list_elem, "note", &struct_elem))
0c9110
-- 
0c9110
1.8.3.1
0c9110