From 5dcf8ff37b4cdbdb57f4cc865cac04d8d5ad3c43 Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Fri, 5 Aug 2005 10:23:17 +0000 Subject: Vulnerability patch submitted by "Sitic Vulnerability Advisory " svn path=/trunk/; revision=30002 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/widgets/eab-contact-display.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index deae14c922..f215393e2a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2005-03-05 Sushma Rai + + * gui/widgets/eab-contact-display.c (render_contact): Using + gtk_html_stream_printf() with format specifier. Vulnerability patch + submitted by "Sitic Vulnerability Advisory " + 2005-03-05 Sushma Rai * importers/evolution-ldif-importer.c (ldif_import): Initialize gci->size to diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c index 95e0893b1b..8613d92e3e 100644 --- a/addressbook/gui/widgets/eab-contact-display.c +++ b/addressbook/gui/widgets/eab-contact-display.c @@ -353,7 +353,7 @@ render_contact (GtkHTMLStream *html_stream, EContact *contact) accum_multival_attribute (accum, contact, _("Yahoo"), E_CONTACT_IM_YAHOO, YAHOO_ICON, 0); if (accum->len > 0) - gtk_html_stream_printf (html_stream, accum->str); + gtk_html_stream_printf (html_stream, "%s", accum->str); end_block (html_stream); @@ -368,7 +368,7 @@ render_contact (GtkHTMLStream *html_stream, EContact *contact) if (accum->len > 0) { start_block (html_stream, _("work")); - gtk_html_stream_printf (html_stream, accum->str); + gtk_html_stream_printf (html_stream, "%s", accum->str); end_block (html_stream); } @@ -383,7 +383,7 @@ render_contact (GtkHTMLStream *html_stream, EContact *contact) if (accum->len > 0) { start_block (html_stream, _("personal")); - gtk_html_stream_printf (html_stream, accum->str); + gtk_html_stream_printf (html_stream, "%s", accum->str); end_block (html_stream); } -- cgit v1.2.3