From 2b30804b3f929b4054403c05a906ed8b63a24c9f Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 22 Mar 2013 20:10:39 +0900 Subject: [PATCH] edje: fix buffer overrun. --- src/lib/edje/edje_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index 9851152..0aa0dda 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -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; -- 2.7.4