Bug#461625: yelp: segfault while loading info documentation
Steve Kemp
skx at debian.org
Thu Mar 20 19:55:31 UTC 2008
The patch below my sig fixes this. Still get assertion failures,
but no more segfault, and the file displays as expected.
Steve
--
Managed Anti-Spam Service
http://mail-scanning.com/
--- ./yelp-info-parser.c-orig 2008-03-20 19:45:43.000000000 +0000
+++ yelp-info-parser.c 2008-03-20 19:52:56.000000000 +0000
@@ -349,10 +349,12 @@
tmp = gtk_tree_iter_copy (it);
reftitle = gtk_tree_model_get_string_from_iter (model, comp);
+ if (!reftitle)
+ return NULL;
result = gtk_tree_model_iter_parent (model, r, it);
- if (!result)
- return it;
+ if ((!result) || (!model))
+ return NULL;
title = gtk_tree_model_get_string_from_iter (model, r);
@@ -364,8 +366,7 @@
More information about the pkg-gnome-maintainers
mailing list