From bae01d4cd81ff263b05740712673220324fba1dd Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 26 May 2000 22:05:38 +0000 Subject: 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 --- mail/ChangeLog | 3 +++ mail/mail-format.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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\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); -- cgit v1.2.3