From: Seunghun Lee Date: Mon, 11 Nov 2019 07:42:53 +0000 (+0900) Subject: e_comp_wl_subsurface: fix svace issue dereferencing null pointer. X-Git-Tag: submit/tizen/20191112.105927~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F217394%2F1;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_subsurface: fix svace issue dereferencing null pointer. Change-Id: I12f584383a5aa0ce802a64ef323e4fa5699a51c9 --- diff --git a/src/bin/e_comp_wl_subsurface.c b/src/bin/e_comp_wl_subsurface.c index 1fe0fb0646..20e73dc64a 100644 --- a/src/bin/e_comp_wl_subsurface.c +++ b/src/bin/e_comp_wl_subsurface.c @@ -10,6 +10,9 @@ _e_comp_wl_subsurface_restack_bg_rectangle(E_Client *ec) { E_Client *bottom = ec; + if (!ec || !ec->comp_data || e_object_is_del(E_OBJECT(ec))) + return; + if (!ec->comp_data->sub.below_obj) return;