From 9ea747f72050ce5a863386a5f59f2e2544f58557 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Fri, 5 Aug 2005 12:15:34 +0000 Subject: Vulnerability patch submitted by "Sitic Vulnerability Advisory " svn path=/trunk/; revision=30006 --- calendar/ChangeLog | 16 +++++++++++++--- calendar/gui/e-cal-component-preview.c | 2 +- calendar/gui/e-calendar-table.c | 2 +- calendar/gui/e-calendar-view.c | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 6d19889ad6..427c7e08fc 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,17 +1,27 @@ -2005-08-06 Chenthill Palanisamy +2005-08-05 Chenthill Palanisamy + + * gui/e-cal-component-preview.c: (write_html): Using format + specifier with gtk_html_stream_printf (). + * gui/e-calendar-table.c: (e_calendar_table_on_save_as): + * gui/e-calendar-view.c: (on_save_as): Using format + specifier for fprintf. + Vulnerability patch submitted by + "Sitic Vulnerability Advisory " + +2005-08-05 Chenthill Palanisamy Fixes #311686 * gui/e-meeting-list-view.c (row_activated_cb):Added a null check for path. -2005-08-06 Chenthill Palanisamy +2005-08-05 Chenthill Palanisamy Fixes #312460 * gui/itip-utils.c (itip_get_comp_attendee): Removed a double free. -2005-08-05 Viren.l +2005-08-04 Viren.l Fixes #302460 * gui/e-day-view.c (e_day_view_on_event_double_click): diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c index 0a4c777c67..bb659f3c4a 100644 --- a/calendar/gui/e-cal-component-preview.c +++ b/calendar/gui/e-cal-component-preview.c @@ -284,7 +284,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone str = g_string_append_c (str, text.value[i]); } - gtk_html_stream_printf (stream, str->str); + gtk_html_stream_printf (stream, "%s", str->str); g_string_free (str, TRUE); } diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c index 5cf8065b30..04cc9265e2 100644 --- a/calendar/gui/e-calendar-table.c +++ b/calendar/gui/e-calendar-table.c @@ -1025,7 +1025,7 @@ e_calendar_table_on_save_as (EPopup *ep, EPopupItem *pitem, void *data) return; } - fprintf (file, ical_string); + fprintf (file, "%s", ical_string); g_free (ical_string); fclose (file); } diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index c143faa2cd..efb6d99122 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -1119,7 +1119,7 @@ on_save_as (EPopup *ep, EPopupItem *pitem, void *data) return; } - fprintf (file, ical_string); + fprintf (file, "%s", ical_string); g_free (ical_string); fclose (file); -- cgit