GNOME Bugzilla – Bug 648736
Fix seg fault when adding default vcard for new created DB
Last modified: 2011-05-27 12:02:37 UTC
Created attachment 186715 [details] [review] Fix seg fault when adding default vcard for new created DB This is one simple patch to fix seg fault of evolution-data-server, when new contact is added for new created DB. The root cause is simple: do_create (bf, XIMIAN_VCARD,....) would access bf->priv->file_db and cause seg fault if not initialized.
Created attachment 186840 [details] [review] Clearer logic flow That works, but I see the same assignment a few lines down. Potential source of confusion in the future. I tried to make the logic flow a little clearer. Can you test this? Also, wow does that default vCard need updated. I thought we had scrubbed all references to Ximian.
(In reply to comment #1) > Created an attachment (id=186840) [details] [review] > Clearer logic flow > > That works, but I see the same assignment a few lines down. Potential source > of confusion in the future. I tried to make the logic flow a little clearer. > Can you test this? I have tested your patch with little modification for the old version in poky. It works well. Hope to see it go into upstream. Thanks, edwin > > Also, wow does that default vCard need updated. I thought we had scrubbed all > references to Ximian.
Review of attachment 186840 [details] [review]: In my role as drive-by maintainer, I approve this patch.
Created commit 9fc9cab in eds master (3.1.2+)