fix a crash in the info parser
This commit is contained in:
parent
9988954ef1
commit
ea9d0e5aa6
15
yelp-2.18.1-info-bc-crash.patch
Normal file
15
yelp-2.18.1-info-bc-crash.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- yelp-info-parser.c.info-bc 2007-03-26 01:33:52.000000000 -0400
|
||||
+++ yelp-info-parser.c 2007-03-26 01:22:15.000000000 -0400
|
||||
@@ -354,6 +354,12 @@
|
||||
title = gtk_tree_model_get_string_from_iter (model, r);
|
||||
}
|
||||
|
||||
+ if (!g_str_equal (title, reftitle))
|
||||
+ {
|
||||
+ gtk_tree_iter_free (tmp);
|
||||
+ tmp = NULL;
|
||||
+ }
|
||||
+
|
||||
gtk_tree_iter_free (r);
|
||||
g_free (title);
|
||||
g_free (reftitle);
|
@ -28,6 +28,8 @@ Patch2: yelp-2.13.2-add-mime-handling.patch
|
||||
Patch3: yelp-2.15.91-use-pango.patch
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=370167
|
||||
Patch5: yelp-2.16.0-apropos.patch
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=430365
|
||||
Patch6: yelp-2.18.1-info-bc-crash.patch
|
||||
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
@ -85,6 +87,7 @@ one central tool.
|
||||
%patch2 -p1 -b .add-mime-handling
|
||||
%patch3 -p1 -b .use-pango
|
||||
%patch5 -p1 -b .apropos
|
||||
%patch6 -p1 -b .info-bc-crash
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -149,6 +152,9 @@ update-desktop-database &> /dev/null ||:
|
||||
%{_datadir}/yelp
|
||||
|
||||
%changelog
|
||||
* Tue Apr 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.1-2
|
||||
- Fix a crash in the info parser (#216308)
|
||||
|
||||
* Mon Apr 09 2007 Matthew Barnes <mbarnes@redhat.com> - 2.18.1-1
|
||||
- Update to 2.18.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user