* edje: strcpy could only go wrong.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 26 Nov 2010 16:46:35 +0000 (16:46 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Fri, 26 Nov 2010 16:46:35 +0000 (16:46 +0000)
SVN revision: 55020

legacy/edje/src/lib/edje_external.c

index 5963f372faea6b782e6548c7b7e6eaa5fa627bf8..2ad2867f8e77401603535e0faa7c2e996002311a 100644 (file)
@@ -667,7 +667,7 @@ _edje_external_param_get(const Evas_Object *obj, Edje_Real_Part *rp, Edje_Extern
             param->type = EDJE_EXTERNAL_PARAM_TYPE_STRING;
             param->name = "text";
             text = edje_object_part_text_get(obj, rp->part->name);
-            strcpy (param->s, text);
+             param->s = text;
             return EINA_TRUE;
          }