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
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user