forked from enlightenment/efl
edje: fix buffer overrun.
This commit is contained in:
parent
8653a45cb1
commit
2b30804b3f
|
@ -1851,7 +1851,7 @@ _cb_signal_repeat(void *data, Evas_Object *obj, const char *sig, const char *sou
|
||||||
length_parent += eina_convert_itoa(i, new_src + length_parent);
|
length_parent += eina_convert_itoa(i, new_src + length_parent);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
memcpy(new_src + length_parent, name, length_index);
|
memcpy(new_src + length_parent, name, length_index - 2);
|
||||||
length_parent += length_index - 2;
|
length_parent += length_index - 2;
|
||||||
}
|
}
|
||||||
new_src[length_parent++] = EDJE_PART_PATH_SEPARATOR_INDEXR;
|
new_src[length_parent++] = EDJE_PART_PATH_SEPARATOR_INDEXR;
|
||||||
|
|
Loading…
Reference in New Issue