From: MinJeong Kim Date: Mon, 19 Aug 2019 11:12:22 +0000 (+0900) Subject: e_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface X-Git-Tag: submit/tizen/20190820.065053^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60f4739e18510f828f62dcdf6dc295e7bbeeebe3;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface Change-Id: Ie648aac34868ea591c049659f311ccea992fa638 Signed-off-by: MinJeong Kim --- diff --git a/src/bin/e_comp_wl_rsm.c b/src/bin/e_comp_wl_rsm.c index 135c4fde24..161afa231c 100644 --- a/src/bin/e_comp_wl_rsm.c +++ b/src/bin/e_comp_wl_rsm.c @@ -3108,6 +3108,12 @@ e_comp_wl_remote_surface_commit(E_Client *ec) if (!sdata->parent) return EINA_FALSE; + if (!sdata->parent->comp_data) + return EINA_FALSE; + + if (e_object_is_del(E_OBJECT(sdata->parent))) + return EINA_FALSE; + if (!(ssdata = sdata->parent->comp_data->sub.data)) return EINA_FALSE;