summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik van Pienbroek <erik@vanpienbroek.nl>2012-03-20 23:03:17 (GMT)
committerErik van Pienbroek <erik@vanpienbroek.nl>2012-03-20 23:03:17 (GMT)
commitb732e43b26a55b48055669cc3d9cf397074da2a9 (patch)
treed36e11e3c0844d285c82d7b32696980357687710
parenta501f4f642d2f6bc7cda1987929851fae93ce7e1 (diff)
downloadmail-notification-b732e43b26a55b48055669cc3d9cf397074da2a9.zip
mail-notification-b732e43b26a55b48055669cc3d9cf397074da2a9.tar.gz
mail-notification-b732e43b26a55b48055669cc3d9cf397074da2a9.tar.xz
Fixed a posible segfault in the evolution plugin
-rw-r--r--mail-notification-5.4-evolution.patch3
-rw-r--r--mail-notification.spec5
2 files changed, 6 insertions, 2 deletions
diff --git a/mail-notification-5.4-evolution.patch b/mail-notification-5.4-evolution.patch
index 87514c2..3c09249 100644
--- a/mail-notification-5.4-evolution.patch
+++ b/mail-notification-5.4-evolution.patch
@@ -136,7 +136,8 @@ diff -Nrbu mail-notification-5.4/build/src/mn-evolution-server.c mail-notificati
CamelMessageInfo *info = summary->pdata[i];
+#endif
- if ((camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
+- if ((camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
++ if (info && (camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
g_ptr_array_add(*ret, self_camel_message_info_to_dbus_struct(info));
}
diff --git a/mail-notification.spec b/mail-notification.spec
index 14ed0e6..2effea1 100644
--- a/mail-notification.spec
+++ b/mail-notification.spec
@@ -1,6 +1,6 @@
Name: mail-notification
Version: 5.4
-Release: 52%{?dist}
+Release: 53%{?dist}
Summary: Status icon that informs you if you have new mail
Group: Applications/Internet
@@ -234,6 +234,9 @@ touch --no-create %{_datadir}/icons/hicolor || :
%changelog
+* Wed Mar 21 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4-53
+- Fixed a posible segfault in the evolution plugin
+
* Wed Feb 22 2012 Milan Crha <mcrha@redhat.com> - 5.4-52
- Rebuild against newer evolution-data-server