[evolution-patches] patch for crash in #41631
- From: Rodrigo Moya <rodrigo ximian com>
- To: Evolution Patches <evolution-patches ximian com>
- Subject: [evolution-patches] patch for crash in #41631
- Date: 07 May 2003 13:18:10 +0200
This fixes the crash in that bug, although it doesn't seem the best fix.
It should probably notify somewhat that there was an invalid property.
Any thoughts? or can I commit this?
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libical/ChangeLog,v
retrieving revision 1.138
diff -u -p -r1.138 ChangeLog
--- ChangeLog 18 Mar 2003 01:48:40 -0000 1.138
+++ ChangeLog 7 May 2003 11:16:33 -0000
@@ -1,3 +1,10 @@
+2003-05-07 Rodrigo Moya <rodrigo ximian com>
+
+ Fixes crash in #41631
+
+ * src/libicalvcal/icalvcal.c (icalvcal_traverse_objects): don't assert
+ on unknown condition.
+
2003-03-17 Hans Petter Jansson <hpj ximian com>
Part of fix for #34095
Index: src/libicalvcal/icalvcal.c
===================================================================
RCS file: /cvs/gnome/libical/src/libicalvcal/icalvcal.c,v
retrieving revision 1.2
diff -u -p -r1.2 icalvcal.c
--- src/libicalvcal/icalvcal.c 6 Feb 2002 23:16:12 -0000 1.2
+++ src/libicalvcal/icalvcal.c 7 May 2003 11:16:34 -0000
@@ -185,7 +185,6 @@ static void icalvcal_traverse_objects(VO
icalproperty_set_x_name(prop,name);
icalcomponent_add_property(last_comp,prop);
} else {
- assert(0);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]