diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-27 06:05:38 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-27 06:05:38 +0800 |
commit | bae01d4cd81ff263b05740712673220324fba1dd (patch) | |
tree | 443bbf7a835561f4985ccdbbfb484310be77d2f3 /mail/mail-format.c | |
parent | f555a184fc149db8149f776c15d98f3b44b6654f (diff) | |
download | gsoc2013-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/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |