[evolution-data-server/f19] Add patch for RH bug #995516 (Crash in certificate viewer)

Milan Crha mcrha at fedoraproject.org
Mon Aug 12 07:15:37 UTC 2013


commit 29be44f0abc15295448698d885e0a6536a67c939
Author: Milan Crha <mcrha at redhat.com>
Date:   Mon Aug 12 09:15:19 2013 +0200

    Add patch for RH bug #995516 (Crash in certificate viewer)

 ...ution-data-server-3.8.5-cert-viewer-crash.patch |   12 ++++++++++++
 evolution-data-server.spec                         |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/evolution-data-server-3.8.5-cert-viewer-crash.patch b/evolution-data-server-3.8.5-cert-viewer-crash.patch
new file mode 100644
index 0000000..1294ef9
--- /dev/null
+++ b/evolution-data-server-3.8.5-cert-viewer-crash.patch
@@ -0,0 +1,12 @@
+diff -up evolution-data-server-3.8.5/modules/trust-prompt/certificate-viewer.c.cert-viewer-crash evolution-data-server-3.8.5/modules/trust-prompt/certificate-viewer.c
+--- evolution-data-server-3.8.5/modules/trust-prompt/certificate-viewer.c.cert-viewer-crash	2013-07-23 13:57:38.000000000 +0200
++++ evolution-data-server-3.8.5/modules/trust-prompt/certificate-viewer.c	2013-08-12 09:14:19.814379827 +0200
+@@ -538,7 +538,7 @@ get_window_title (CERTCertificate *cert)
+ 		return title;
+ 	}
+ 
+-	return cert->subjectName;
++	return g_strdup (cert->subjectName);
+ }
+ 
+ GtkWidget *
diff --git a/evolution-data-server.spec b/evolution-data-server.spec
index 7ce6ecf..e62846c 100644
--- a/evolution-data-server.spec
+++ b/evolution-data-server.spec
@@ -28,7 +28,7 @@
 
 Name: evolution-data-server
 Version: 3.8.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: System Environment/Libraries
 Summary: Backend data server for Evolution
 License: LGPLv2+
@@ -44,6 +44,9 @@ Obsoletes: evolution-webcal < 2.24.0
 # RH bug #243296
 Patch01: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
 
+# RH bug #995516
+Patch02: evolution-data-server-3.8.5-cert-viewer-crash.patch
+
 ### Depdencies ###
 
 Requires: dconf
@@ -123,6 +126,7 @@ This package contains developer documentation for %{name}.
 %setup -q
 
 %patch01 -p1 -b .fix-64bit-acinclude
+%patch02 -p1 -b .cert-viewer-crash
 
 mkdir -p krb5-fakeprefix/include
 mkdir -p krb5-fakeprefix/lib
@@ -371,6 +375,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %{_datadir}/gtk-doc/html/libedataserver
 
 %changelog
+* Mon Aug 12 2013 Milan Crha <mcrha at redhat.com> - 3.8.5-3
+- Add patch for RH bug #995516 (Crash in certificate viewer)
+
 * Mon Aug 12 2013 Milan Crha <mcrha at redhat.com> - 3.8.5-2
 - Bump nss version requirement to 3.14
 


More information about the scm-commits mailing list