derekf pushed a commit to branch master.

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

commit eb947101461cac1feeeffb04069f5dfe7a150178
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Jun 24 10:05:18 2016 -0500

    Don't try to send surface presence events for zones with no wayland output
    
    Avoid that NULL pointer deref.
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 5f1f69e..59b84bf 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -83,6 +83,8 @@ _e_comp_wl_surface_outputs_update(E_Client *ec)
 
              s = ec->comp_data->surface;
              wlo = zone->output;
+             if (!wlo) continue;
+
              res = _output_resource_find(wlo->resources, s);
              if (!res) continue;
 

-- 


Reply via email to