aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-06-01 19:42:39 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-06-01 19:42:39 +0800
commita55d7dc1e6f177d56de288bf3d2c653b65927fad (patch)
treeb09f23ffa66bd78bc62dccbce0f87a818055903d /calendar
parent0f0fba1e81c46a4706b93a8efa4e19cf81d51592 (diff)
downloadgsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.gz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.bz2
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.lz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.xz
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.tar.zst
gsoc2013-evolution-a55d7dc1e6f177d56de288bf3d2c653b65927fad.zip
Fixes #59369
2004-06-01 Rodrigo Moya <rodrigo@novell.com> Fixes #59369 * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings to libical functions. svn path=/trunk/; revision=26142
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/gui/e-calendar-view.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 43c138d09d..f637e4783a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,11 @@
-2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net>
+2004-06-01 Rodrigo Moya <rodrigo@novell.com>
+
+ Fixes #59369
+
+ * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings
+ to libical functions.
+
+2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net>
* Bug #51968 "Invite others.." button confusing in Appointment
editor dialog(Fixed)"
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 9ae3c1796c..87fed472ea 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -731,6 +731,9 @@ clipboard_get_text_cb (GtkClipboard *clipboard, const gchar *text, ECalendarView
g_return_if_fail (E_IS_CALENDAR_VIEW (cal_view));
+ if (!text || !*text)
+ return;
+
icalcomp = icalparser_parse_string ((const char *) text);
if (!icalcomp)
return;