Package: yelp / 3.14.1-1

03_info_crasher.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Debian #461625
GNOME #533718

Index: yelp-3.14.1/libyelp/yelp-info-parser.c
===================================================================
--- yelp-3.14.1.orig/libyelp/yelp-info-parser.c	2014-10-14 18:24:44.910216224 +0200
+++ yelp-3.14.1/libyelp/yelp-info-parser.c	2014-10-14 18:24:44.906216160 +0200
@@ -659,10 +659,12 @@
   gchar *title;
   gchar *reftitle;
 
-  if (!it) {
+  if (!it || !comp) {
     return NULL;
   }
 
+  g_return_val_if_fail (GTK_IS_TREE_MODEL (model), NULL);
+
   r = gtk_tree_iter_copy (it);
   tmp = gtk_tree_iter_copy (it);