aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-meeting-edit.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 34e0ce59a3..e382e0e2b5 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-27 Jesse Pavel <jpavel@helixcode.com>
+
+ * gui/e-meeting-edit.c: fixed problems in which I allocated CORBA
+ strings of 0 length, but then didn't NULL terminate them.
+
2000-10-27 <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (check_for_slow_setting):
diff --git a/calendar/gui/e-meeting-edit.c b/calendar/gui/e-meeting-edit.c
index 55bfdd8a3b..76e5e90143 100644
--- a/calendar/gui/e-meeting-edit.c
+++ b/calendar/gui/e-meeting-edit.c
@@ -560,6 +560,7 @@ send_button_clicked_cb (GtkWidget *widget, gpointer data)
recipient = &(to_list->_buffer[cntr]);
recipient->name = CORBA_string_alloc (0); /* FIXME: we may want an actual name here. */
+ recipient->name[0] = '\0';
recipient->address = CORBA_string_alloc (len);
strcpy (recipient->address, cell_text);
}
@@ -584,6 +585,7 @@ send_button_clicked_cb (GtkWidget *widget, gpointer data)
content_type = CORBA_string_alloc (strlen (tempstr));
strcpy (content_type, tempstr);
filename = CORBA_string_alloc (0);
+ filename[0] = '\0';
sprintf (tempstr, "Calendar attachment");
description = CORBA_string_alloc (strlen (tempstr));
strcpy (description, tempstr);
/a>pgollucci2012-03-141-1/+8 * - Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Dev...pgollucci2012-03-091-8/+1 * - Change PERL_CONFIGURE to "yes" for all values less than or equal to 5.8.0+sunpoet2011-09-171-1/+1 * - Update to 2.019wen2011-03-112-4/+4 * - Update to 2.018wen2011-02-253-185/+136 * - Remove PERL_SITELIBDIRsunpoet2010-12-012-2/+0 * Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,mm2010-09-21