GNOME Bugzilla – Bug 601551
[PST] evolution crashed with SIGSEGV
Last modified: 2010-02-24 17:02:47 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution/+bug/471852 "Crashed during importing outlook 2007 pst file. Imported constacts and tasks, but crashed on calendar items." ".
+ Trace 219016
Thread 1 (process 3541)
> fill_calcomponent (m=<value optimized out>, item=0xb1bbc028, > ec=0x8bbb2d0, type=0x2a766e6 "task") at pst-importer.c:1317 > a = (pst_item_appointment *) 0x0 > text = { > value = 0xb1b1f640 "Noclegi w poznaniu weekend przed 25 sierpnia.", The task didn't have an 'appointment' part for some reason, thus it crashed at: > 1315 } > 1316 > 1317 if (a->location.str) { > 1318 e_cal_component_set_location (ec, a->location.str); > 1318 } when 'a' is NULL.
Created attachment 154609 [details] [review] evo patch for evolution; I as unable to reproduce this myself, unfortunately, thus I added only few sanity checks before using the pointers. It will skip those invalid silently.
Created commit 50fb261 in evo master (2.29.92+) Created commit 9720d79 in evo gnome-2-28 (2.28.3+)