diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-02-06 10:46:00 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-02-06 10:51:50 -0800 |
commit | 1b4a2c0ac9de70602021ddf6e2b0f60388b4883b (patch) | |
tree | 53167b35e0964f0195f82e5b3b49ebc7666b6db6 | |
parent | e1bd14f9331b8622b89c3e7992e2ea6d3678ea43 (diff) | |
download | efl-1b4a2c0ac9de70602021ddf6e2b0f60388b4883b.tar.gz |
evas: more hardening of evas access map.x
-rw-r--r-- | src/lib/evas/canvas/evas_object_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c index b245454be8..4ebb7486f5 100644 --- a/src/lib/evas/canvas/evas_object_main.c +++ b/src/lib/evas/canvas/evas_object_main.c @@ -231,7 +231,7 @@ evas_object_clip_recalc(Evas_Object_Protected_Data *obj) evas_object_coords_recalc(eo_obj, obj); - if (EINA_UNLIKELY((obj->map->cur.map) && (obj->map->cur.usemap))) + if (EINA_UNLIKELY((!!obj->map) && (obj->map->cur.map) && (obj->map->cur.usemap))) { cx = obj->map->cur.map->normal_geometry.x; cy = obj->map->cur.map->normal_geometry.y; |