aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-08-05 20:15:34 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-08-05 20:15:34 +0800
commit9ea747f72050ce5a863386a5f59f2e2544f58557 (patch)
treec11bba4cd501a426b091e30038e7e1eae633a26c /calendar/gui
parent0f6e36ed91b3569b5738246e40dd70e0b3f556a8 (diff)
downloadgsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar.gz
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar.bz2
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar.lz
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar.xz
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.tar.zst
gsoc2013-evolution-9ea747f72050ce5a863386a5f59f2e2544f58557.zip
Vulnerability patch submitted by
"Sitic Vulnerability Advisory <sitic@pts.se>" svn path=/trunk/; revision=30006
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-cal-component-preview.c2
-rw-r--r--calendar/gui/e-calendar-table.c2
-rw-r--r--calendar/gui/e-calendar-view.c2
3 files changed, 3 insertions, 3 deletions
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);