raster pushed a commit to branch enlightenment-0.23.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=af199f6c0fd17d8068c3ede4fecf012b6e84e066

commit af199f6c0fd17d8068c3ede4fecf012b6e84e066
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Sep 4 13:34:05 2019 +0100

    e comp object - fix null comp win access on move begin
    
    don't crash.
    
    @fix
---
 src/bin/e_comp_object.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 59e6e56a0..4b3d4db00 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2631,6 +2631,7 @@ _e_comp_object_move_end(void *d EINA_UNUSED, E_Client *ec)
    Evas_Object *rect;
    Eina_Array_Iterator it;
 
+   if (!cw) return;
    if (!cw->input_objs) return;
 
    EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
@@ -2645,6 +2646,7 @@ _e_comp_object_move_begin(void *d EINA_UNUSED, E_Client 
*ec)
    Evas_Object *rect;
    Eina_Array_Iterator it;
 
+   if (!cw) return;
    if (!cw->input_objs) return;
 
    EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)

-- 


Reply via email to