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);
0353111f9146dadc'>Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-11-201-1/+1 * Remove expired ports without open PRs:rene2016-07-056-225/+0 * Deprecate ports broken for more than 6 monthsantoine2016-06-041-0/+2 * - Fix trailing whitespace in pkg-descrs, categories [p-x]*amdmi32016-05-191-1/+1 * Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.mat2016-04-017-11/+11 * Add a patch removing dead code -- a bug in it triggers an errormi2016-02-192-0/+105 * Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-132-2/+2 * - Add LICENSEamdmi32015-11-231-1/+3 * - Reassign sumikawa@'s ports after his commit bit was taken in for safekeepingculot2015-11-211-1/+1 * palm/libmal: expand patch to fix malloc.h-less DFmarino2015-11-131-1/+1 * Mark a few ports BROKEN: unfetchableantoine2015-11-091-0/+2 * Fix ports that confused the meaning of WRKDIR and WRKSRC.mat2015-11-051-4/+4 * - Add LICENSE_FILEamdmi32015-10-192-32/+27 * - Add LICENSE_FILEamdmi32015-09-252-3/+5 * - Reassign to the heap after fluffy@'s bit was taken in for safekeepingculot2015-09-241-1/+1 * Make it so that the default Perl is always called perl5.mat2015-09-141-1/+1 * - Switch to options helpersamdmi32015-09-021-5/+3 * - Clarify LICENSEamdmi32015-08-231-1/+2 * Reset maintainererwin2015-08-191-1/+1 * Part 1 of adding USE_GNOME=intltool to ports that require it.kwm2015-08-03