evas: Fix very unlikely crash in evas render
authorHyunSeok Cha <hyunseok.cha@samsung.com>
Fri, 20 Jan 2017 04:49:13 +0000 (13:49 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 20 Jan 2017 05:11:00 +0000 (14:11 +0900)
commit3fbf234b327ebe89e1979ae1d50a03ed05e4bb7d
treecd8dc68eaa9e08ab4e7bc5500b9e3baed4073922
parent70d947901d8bb62c0d64461d9be5a9d24a0db3de
evas: Fix very unlikely crash in evas render

During a stress test of EFL a seemingly impossible crash happened, where
one of object's cow fields was NULL inside evas_object_was_visible.
Nothing in the code flow can possibly lead to this situation but
it still happened. For information, the object's delete_me flag was 2 in
evas_object_is_active() called from _evas_render_phase1_object_process().
So let's add a small safety check for crash prevention.

Differential Revision: https://phab.enlightenment.org/D4608
src/lib/evas/include/evas_inline.x