From a3965452469b0595c70aaf9cc2ca8337db5ee838 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Tue, 25 Mar 2008 15:26:56 +0000 Subject: [PATCH] - Add patch for GNOME bug #524310 --- evolution-2.10.3-server-message-double-free.patch | 15 +++++++++++++++ evolution.spec | 9 ++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 evolution-2.10.3-server-message-double-free.patch diff --git a/evolution-2.10.3-server-message-double-free.patch b/evolution-2.10.3-server-message-double-free.patch new file mode 100644 index 0000000..8c4316c --- /dev/null +++ b/evolution-2.10.3-server-message-double-free.patch @@ -0,0 +1,15 @@ +diff -up evolution-2.10.3/mail/mail-session.c.server-message-double-free evolution-2.10.3/mail/mail-session.c +--- evolution-2.10.3/mail/mail-session.c.server-message-double-free 2008-03-25 10:01:13.000000000 -0400 ++++ evolution-2.10.3/mail/mail-session.c 2008-03-25 10:01:25.000000000 -0400 +@@ -389,10 +389,8 @@ alert_user(CamelSession *session, CamelS + mail_msg_unref (m); + } + +- if (m->ismain) { +- user_message_free (m); ++ if (m->ismain) + mail_msg_unref (m); +- } + + return result; + } diff --git a/evolution.spec b/evolution.spec index 9f6b76a..b0060a9 100644 --- a/evolution.spec +++ b/evolution.spec @@ -46,7 +46,7 @@ Name: evolution Version: 2.22.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 and GFDL+ Group: Applications/Productivity Summary: GNOME's next-generation groupware suite @@ -84,6 +84,9 @@ Patch15: evolution-2.9.1-im-context-reset.patch # RH bug #437208 / GNOME bug #518103 Patch16: evolution-2.22.0-line-status.patch +# GNOME bug #524310 +Patch17: evolution-2.10.3-server-message-double-free.patch + ## Dependencies ### Requires(post): GConf2 @@ -230,6 +233,7 @@ This package contains the plugin to filter junk mail using SpamAssassin. %patch14 -p1 -b .no-gnome-common %patch15 -p1 -b .im-context-reset %patch16 -p1 -b .line-status +%patch17 -p1 -b .server-message-double-free mkdir -p krb5-fakeprefix/include mkdir -p krb5-fakeprefix/lib @@ -657,6 +661,9 @@ rm -rf $RPM_BUILD_ROOT %{evo_plugin_dir}/liborg-gnome-sa-junk-plugin.so %changelog +* Tue Mar 25 2008 Dan Williams - 2.22.0-4.fc9 +- Add patch for GNOME bug #524310 + * Fri Mar 14 2008 Matthew Barnes - 2.22.0-3.fc9 - Explicit require evolution-data-server since its shared object names still can't be trusted (RH bug #426511).