aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-27 06:05:38 +0800
committerDan Winship <danw@src.gnome.org>2000-05-27 06:05:38 +0800
commitbae01d4cd81ff263b05740712673220324fba1dd (patch)
tree443bbf7a835561f4985ccdbbfb484310be77d2f3 /mail
parentf555a184fc149db8149f776c15d98f3b44b6654f (diff)
downloadgsoc2013-evolution-bae01d4cd81ff263b05740712673220324fba1dd.tar.gz
gsoc2013-evolution-bae01d4cd81ff263b05740712673220324fba1dd.tar.zst
gsoc2013-evolution-bae01d4cd81ff263b05740712673220324fba1dd.zip
Fix a bug (security/stability) in its usage of mail_html_write.
* mail-format.c (handle_text_html): Fix a bug (security/stability) in its usage of mail_html_write. svn path=/trunk/; revision=3227
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d8b8730ba4..9a9afe12f7 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-05-26 Dan Winship <danw@helixcode.com>
+ * mail-format.c (handle_text_html): Fix a bug (security/stability)
+ in its usage of mail_html_write.
+
* mail-ops.c (composer_send_cb, reply): set CAMEL_MESSAGE_ANSWERED
on a message after a successful reply.
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 46e279dd49..f0cc91617a 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -678,7 +678,7 @@ handle_text_html (CamelMimePart *part, CamelMimeMessage *root, GtkBox *box)
mail_html_write (html, stream, "\n<!-- text/html -->\n");
text = get_data_wrapper_text (wrapper);
- mail_html_write (html, stream, text);
+ mail_html_write (html, stream, "%s", text);
g_free (text);
mail_html_end (html, stream, FALSE, box);
ommit/www/horde?h=mate-1.18&id=2f7dd750c5d024e43c4ba705cba79959d05e952d'>Chase pear-Mail_Mime upgrade (PR ports/79433):thierry2005-04-211-0/+2 * Upgrade to v3.0.4.thierry2005-04-034-27/+33 * Upgrade to Horde 3.0.3.thierry2005-02-124-10/+13 * Upgrade to 3.0.2.thierry2005-01-082-3/+3 * Upgrade to 3.0.1.thierry2005-01-053-4/+4 * Upgrade to 3.0.thierry2004-12-26