rpms/gtorrentviewer/devel GTorrentViewer-0.2b-tracker-details-refresh.patch, NONE, 1.1 gtorrentviewer.spec, 1.16, 1.17

Paul Howarth pghmcfc at fedoraproject.org
Fri Jun 25 14:33:19 UTC 2010


Author: pghmcfc

Update of /cvs/pkgs/rpms/gtorrentviewer/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31912/devel

Modified Files:
	gtorrentviewer.spec 
Added Files:
	GTorrentViewer-0.2b-tracker-details-refresh.patch 
Log Message:
Fix crash when "Refresh" button in "Tracker Details" tab is pressed (#542502, #572806)

GTorrentViewer-0.2b-tracker-details-refresh.patch:
 mainwindow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE GTorrentViewer-0.2b-tracker-details-refresh.patch ---
This patch fixes a crash when the "Refresh" button in the "Tracker Details"
tab is pushed, due to the use of an uninitialized GValue.

https://bugzilla.redhat.com/show_bug.cgi?id=542502
https://bugzilla.redhat.com/show_bug.cgi?id=572806
https://bugzilla.redhat.com/show_bug.cgi?id=593734

--- GTorrentViewer-0.2b/src/mainwindow.c.orig	2004-10-26 05:37:58.000000000 +0100
+++ GTorrentViewer-0.2b/src/mainwindow.c	2010-06-25 14:43:22.391786427 +0100
@@ -744,7 +744,7 @@
 {
   GtkListStore *list;
   GtkTreeIter iter;
-  GValue itemvalue;
+  GValue itemvalue = {0};
   gchar *tracker;
   GError *err;
   


Index: gtorrentviewer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtorrentviewer/devel/gtorrentviewer.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- gtorrentviewer.spec	23 Feb 2010 13:26:19 -0000	1.16
+++ gtorrentviewer.spec	25 Jun 2010 14:33:19 -0000	1.17
@@ -1,6 +1,6 @@
 Name:		gtorrentviewer
 Version:	0.2b
-Release:	19%{?dist}
+Release:	20%{?dist}
 Summary:	A GTK2-based viewer and editor for BitTorrent meta files
 Group:		Applications/Internet
 License:	GPL+
@@ -8,6 +8,7 @@ URL:		http://gtorrentviewer.sourceforge.
 Source0:	http://downloads.sf.net/gtorrentviewer/GTorrentViewer-%{version}.tar.gz
 Patch0:		gtorrentviewer-0.2b-desktop.patch
 Patch1:		gtorrentviewer-0.2b-dso-linking.patch
+Patch2:		GTorrentViewer-0.2b-tracker-details-refresh.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	curl-devel, gtk2-devel >= 2.4, desktop-file-utils, gettext, intltool
 
@@ -30,6 +31,9 @@ download.
 # mainwindow.c requires ceil() from libm (#564928)
 %patch1 -p1
 
+# Fix crash due to use of uninitialized GValue (#542502, #572806)
+%patch2 -p1
+
 %build
 %configure
 %{__make} %{?_smp_mflags}
@@ -65,6 +69,10 @@ download.
 %{_mandir}/man1/gtorrentviewer.1*
 
 %changelog
+* Fri Jun 25 2010 Paul Howarth <paul at city-fan.org> 0.2b-20
+- Fix crash when "Refresh" button in "Tracker Details" tab is pressed
+  (#542502, #572806)
+
 * Tue Feb 23 2010 Paul Howarth <paul at city-fan.org> 0.2b-19
 - Fix FTBFS due to missing -lm linking for ceil function (#564928)
 - Try to maintain timestamps of data files



More information about the scm-commits mailing list