GNOME Bugzilla – Bug 467883
enable_folder_tree() assumes folder is always selected
Last modified: 2013-09-13 00:55:29 UTC
Forwarding from a downstream bug: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=253348 In mail-component.c, enable_folder_tree() calls em_folder_tree_get_selected_uri() and assumes the result is non-NULL. This can lead to crashes like the one reported downstream.
Created attachment 93883 [details] [review] Patch for evolution This patch hardens the enable_folder_tree() logic.
Created attachment 93884 [details] [review] Patch for evolution-data-server I also added some argument checks to various camel-url functions.
bug #467559 is also the same thing. It has a patch committed against this bug. I like your patch better. You may have to rework a bit to get it in. Go ahead and commit it your way.
Committed to trunk. Evolution - Revision 34047 Evolution-Data-Server - Revision 7978 Thanks for the quick review, Srini.
*** Bug 425093 has been marked as a duplicate of this bug. ***