On Sun, Apr 08, 2007 at 03:49:08PM -0400, Christopher Michael wrote:
> Hi all,
> 
> Mekius recently discovered a nasty segfault when trying to use the Enter 
> key to dismiss a dialog. As it turns out, this affects all dialogs. 
> After some digging into evas_callbacks.c I have come up with the 
> following patch. I didn't commit because I'm not entirely sure that it's 
> the proper solution, tho it does fix the segfault.
>

I'm not sure this is a proper fix. It looks like it would just hide a
bug that is somewhere else. It seems that one of the callbacks is
triggering something that is setting obj->callbacks to NULL. I think
that either the place that this happens needs to be modified to honor
the 'walking_list' flag on the object, or the list walking needs to be
modified to break if obj->callbacks is NULL after calling a cb func.

I only had a few minutes to look at this though, and I'm not very
familiar with the code.

Brian


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to