raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c09f4180a1a6f820f18a23c29a0961c55e5f91bf

commit c09f4180a1a6f820f18a23c29a0961c55e5f91bf
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Jun 8 17:25:08 2017 +0900

    edje - fix signal propagate crash
    
    fixes segv when using boxes/tables and sub groups with signal
    propagation working in _cb_signal_repeat() when name is NULL (not
    found/there)
    
    @fix
---
 src/lib/edje/edje_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index fff358d5ec..5fc34a84c7 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -2625,7 +2625,7 @@ _cb_signal_repeat(void *data, Evas_Object *obj, const 
char *sig, const char *sou
         if ((pack_it->parent->part->type == EDJE_PART_TYPE_BOX) ||
             (!name && (pack_it->parent->part->type == EDJE_PART_TYPE_TABLE)))
           length_parent += eina_convert_itoa(i, new_src + length_parent);
-        else
+        else if (name)
           {
              memcpy(new_src + length_parent, name, length_index - 2);
              length_parent += length_index - 2;

-- 


Reply via email to