edje: fix buffer overrun.

This commit is contained in:
Cedric BAIL 2013-03-22 20:10:39 +09:00
parent 8653a45cb1
commit 2b30804b3f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
else
{
memcpy(new_src + length_parent, name, length_index);
memcpy(new_src + length_parent, name, length_index - 2);
length_parent += length_index - 2;
}
new_src[length_parent++] = EDJE_PART_PATH_SEPARATOR_INDEXR;