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
This commit is contained in:
Carsten Haitzler 2017-06-08 17:25:08 +09:00
parent af2de9f2c0
commit c09f4180a1
1 changed files with 1 additions and 1 deletions

View File

@ -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;