cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d8914689d40fdd20388bdbf0d3b11c0506567df8
commit d8914689d40fdd20388bdbf0d3b11c0506567df8 Author: Cedric BAIL <[email protected]> Date: Fri Mar 14 11:44:49 2014 +0900 evas: let's check NULL for destination object to. Fix CID 1191976. --- src/lib/evas/canvas/evas_object_image.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 7adc3ce..bee8651 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -598,7 +598,12 @@ _evas_image_source_set(Eo *eo_obj, Evas_Image_Data *o, Evas_Object *eo_src) } if (!src->layer) { - CRI("No evas surface associated with source object (%p)", eo_obj); + CRI("No evas surface associated with source object (%p)", eo_src); + return EINA_FALSE; + } + if (!obj->layer) + { + CRI("No evas surface associated with destination object (%p)", eo_obj); return EINA_FALSE; } if ((obj->layer && src->layer) && --
