I think I've found the bug and this patch works around it. I noticed
that the elements in the builtin_timezone array looked like they were
being overwritten; I checked the sizeof(icaltimezone) on ia64, and its
72 - so apparently the elements are overrunning each other. The right
answer, of course, is to remove the hardcoded value.

--- mozilla/calendar/libxpical/oeICalContainerImpl.cpp.~1.29.~  2004-02-12 
15:42:31.000000000 -0700
+++ mozilla/calendar/libxpical/oeICalContainerImpl.cpp  2006-10-11 
20:44:29.000000000 -0600
@@ -93,7 +93,7 @@
     if( builtin_timezones )
         return;
 
-    builtin_timezones = icalarray_new ( 44, 32); //HARDCODED 
sizeof(icaltimezone)=44
+    builtin_timezones = icalarray_new ( 72, 32); //HARDCODED 
sizeof(icaltimezone)=72
 
     icalcomponent *vcalendar = icalparser_parse_string(timezonecalstr);
     icalcomponent *vtimezone;



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to