From: Carsten Haitzler (Rasterman) Date: Thu, 8 Jun 2017 08:25:08 +0000 (+0900) Subject: edje - fix signal propagate crash X-Git-Tag: upstream/1.20.0~719 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c09f4180a1a6f820f18a23c29a0961c55e5f91bf;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index fff358d..5fc34a8 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;