Hello,

i just found a bug which produces a segfault when running ecore_config command
line util with the -d switch for deleting keys.
It happens when deleting keys via ecore_config_dst() method in ecore_config.c

Here is a patch which fixes the error

Index: ecore_config.c
===================================================================
--- ecore_config.c      (revision 46341)
+++ ecore_config.c      (working copy)
@@ -60,8 +60,8 @@
    Ecore_Config_Listener_List *l;

    p = NULL;
-   c = e;
    t = __ecore_config_bundle_local;
+   c = t->data;

    if (!e || !e->key)
       return NULL;

When someone with svn access applies the patch it would be very kind to fix two
minor things as well which i posted as ticket #522 [1] and #523 [2].

Best regards,
buergi


[1] http://trac.enlightenment.org/e/ticket/522
[2] http://trac.enlightenment.org/e/ticket/523

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to