forked from enlightenment/efl
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:
parent
af2de9f2c0
commit
c09f4180a1
|
@ -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) ||
|
if ((pack_it->parent->part->type == EDJE_PART_TYPE_BOX) ||
|
||||||
(!name && (pack_it->parent->part->type == EDJE_PART_TYPE_TABLE)))
|
(!name && (pack_it->parent->part->type == EDJE_PART_TYPE_TABLE)))
|
||||||
length_parent += eina_convert_itoa(i, new_src + length_parent);
|
length_parent += eina_convert_itoa(i, new_src + length_parent);
|
||||||
else
|
else if (name)
|
||||||
{
|
{
|
||||||
memcpy(new_src + length_parent, name, length_index - 2);
|
memcpy(new_src + length_parent, name, length_index - 2);
|
||||||
length_parent += length_index - 2;
|
length_parent += length_index - 2;
|
||||||
|
|
Loading…
Reference in New Issue