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

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