raster pushed a commit to branch master.

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

commit b7cc2a065f43be9b6366e237572193440ff09225
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Apr 18 12:02:44 2019 +0100

    e wl - guarad against possible null comp_data
    
    not reproducable so the best solution i can see is some guarads
    against a NULL ec->comp_data.
---
 src/bin/e_comp_wl_extensions.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 3c4924706..241ba107c 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -1134,6 +1134,7 @@ e_comp_wl_extension_pointer_constraints_commit(E_Client 
*ec)
    Eina_List *l;
    Constraint *c;
 
+   if ((!ec) || (!ec->comp_data)) return;
    EINA_LIST_FOREACH(ec->comp_data->constraints, l, c)
      {
         if (c->pending)
@@ -1271,6 +1272,7 @@ e_comp_wl_extension_pointer_constraints_update(E_Client 
*ec, int x, int y)
    Eina_Bool inside;
    int px, py;
 
+   if ((!ec) || (!ec->comp_data)) return EINA_FALSE;
    inside = e_comp_object_coords_inside_input_area(ec->frame, x, y);
    evas_pointer_canvas_xy_get(e_comp->evas, &px, &py);
 

-- 


Reply via email to