swayfx/sway/desktop
A. M. Joseph 74c0e7921a xwayland.c handle_map(): NULL out xsurface->data() to prevent crashing.
When changing a surface from managed to unmanaged in handle_map(), the
call to handle_destroy(.., view) causes the sway_xwayland_view pointed
to by the untyped wlr_xwayland_surface.data field to become invalid
garbage, yet the untyped wlr_xwayland_surface.data continues to point
at it.  In particular: view_get_*(view_from_wlr_surface(..)), even
with appropriate NULL checking, will crash sway when this codepath is
exercised (reliable test case: drop-down menus in Google Earth).
2019-10-17 11:40:16 +03:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c idle_inhibit: fix crash during view destruction 2019-04-03 19:46:08 +03:00
layer_shell.c Updates per wlroots layer shell changes 2019-10-16 10:24:15 -04:00
output.c Updates per wlroots layer shell changes 2019-10-16 10:24:15 -04:00
render.c Fix direct scan-out flickering 2019-09-26 10:36:18 -04:00
transaction.c Fix uninitialized read for wlr_surface_send_frame 2019-04-21 14:06:15 +03:00
xdg_shell.c Remove all wayland-server.h includes 2019-07-27 17:16:56 -04:00
xwayland.c xwayland.c handle_map(): NULL out xsurface->data() to prevent crashing. 2019-10-17 11:40:16 +03:00