aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-to-task
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-11-01 05:04:30 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-11-01 05:04:30 +0800
commitec1f102019aaa451427228c4003866eee90276f0 (patch)
treea694c2a0cd58e721fcf00336160880f74a9d661a /plugins/mail-to-task
parente4d1b4403780f992291a33b5621e953d3e50455d (diff)
downloadgsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar.gz
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar.bz2
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar.lz
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar.xz
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.tar.zst
gsoc2013-evolution-ec1f102019aaa451427228c4003866eee90276f0.zip
** Fixes bug #558726 (patch by Frederic van Starbmann)
2008-10-31 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #558726 (patch by Frederic van Starbmann) * mail/em-format-html.c (emfh_multipart_related_check): * plugins/mail-to-task/mail-to-task.c (do_mail_to_task): * plugins/plugin-manager/plugin-manager.c (eppm_enable_toggled): Fix several potential format string crashes. svn path=/trunk/; revision=36709
Diffstat (limited to 'plugins/mail-to-task')
-rw-r--r--plugins/mail-to-task/ChangeLog7
-rw-r--r--plugins/mail-to-task/mail-to-task.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/mail-to-task/ChangeLog b/plugins/mail-to-task/ChangeLog
index 7b9ac83950..ad020a8f0c 100644
--- a/plugins/mail-to-task/ChangeLog
+++ b/plugins/mail-to-task/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-31 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #558726 (patch by Frederic van Starbmann)
+
+ * mail-to-task.c (do_mail_to_task):
+ Fix a potential format string crash.
+
2008-08-27 Sankar P <psankar@novell.com>
License Changes
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 89075dfd28..2717bb29be 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -287,7 +287,7 @@ do_mail_to_task (AsyncData *data)
e_notice (NULL, GTK_MESSAGE_ERROR, _("Cannot open calendar. %s"), err ? err->message : "");
} else if (!e_cal_is_read_only (client, &readonly, &err) || readonly) {
if (err)
- e_notice (NULL, GTK_MESSAGE_ERROR, err->message);
+ e_notice (NULL, GTK_MESSAGE_ERROR, "%s", err->message);
else
e_notice (NULL, GTK_MESSAGE_ERROR, _("Selected source is read only, thus cannot create task there. Select other source, please."));
} else {