rpms/meanwhile/F-9 meanwhile-crash.patch, NONE, 1.1 meanwhile.spec, 1.12, 1.13

Joshua W. Boyer jwboyer at fedoraproject.org
Thu Aug 28 11:45:47 UTC 2008


Author: jwboyer

Update of /cvs/pkgs/rpms/meanwhile/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4118

Modified Files:
	meanwhile.spec 
Added Files:
	meanwhile-crash.patch 
Log Message:
* Thu Aug 28 2008 Josh Boyer <jwboyer at gmail.com> - 1.0.2-7
- Add patch to fix crash when server removes contact list


meanwhile-crash.patch:

--- NEW FILE meanwhile-crash.patch ---
--- src/st_list.c.orig	2008-08-27 11:32:47.000000000 +1000
+++ src/st_list.c	2008-08-27 10:24:34.000000000 +1000
@@ -662,7 +662,9 @@
   g_return_if_fail(b != NULL);
 
   mwString_get(b, &str);
-  list_get(str, l);
-  g_free(str);
+  if (str) {
+    list_get(str, l);
+    g_free(str);
+  }
 }


Index: meanwhile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/meanwhile/F-9/meanwhile.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- meanwhile.spec	19 Feb 2008 07:33:36 -0000	1.12
+++ meanwhile.spec	28 Aug 2008 11:45:17 -0000	1.13
@@ -7,8 +7,9 @@
 License:	LGPLv2+
 Group:		Applications/Internet
 Version:	1.0.2
-Release:	6%{?dist}
+Release:	7%{?dist}
 Source:		http://dl.sf.net/meanwhile/meanwhile-%{version}.tar.gz
+Patch0:		meanwhile-crash.patch
 URL:		http://meanwhile.sourceforge.net
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glib2-devel, doxygen
@@ -43,6 +44,7 @@
 
 %prep
 %setup
+%patch0 -p0
 
 %build
 %configure --enable-doxygen
@@ -77,6 +79,9 @@
 %{_datadir}/doc/%{name}-doc-%{version}/
 
 %changelog
+* Thu Aug 28 2008 Josh Boyer <jwboyer at gmail.com> - 1.0.2-7
+- Add patch to fix crash when server removes contact list
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.0.2-6
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list