furrymyad pushed a commit to branch efl-1.16. http://git.enlightenment.org/core/efl.git/commit/?id=e347289a3d1de5662df75d8649c4f10bf83b7550
commit e347289a3d1de5662df75d8649c4f10bf83b7550 Author: Vitalii Vorobiov <[email protected]> Date: Fri Feb 19 11:22:07 2016 +0000 Edje_Edit: fix defect found by Coverity in ...state_tween_insert_at Check constraits before creating image structures CID 1351558 --- src/lib/edje/edje_edit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index 96d8cf5..7f30907 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -8761,7 +8761,10 @@ edje_edit_state_tween_insert_at(Evas_Object *obj, const char *part, const char * img = (Edje_Part_Description_Image *)pd; if ((unsigned)place > img->image.tweens_count) - return EINA_FALSE; + { + free(i); + return EINA_FALSE; + } /* add to tween list */ tmp = realloc(img->image.tweens, --
