weston/libweston-desktop
Derek Foreman d1510b4f40 libweston-desktop/xdg-shell-v6: Fix crash when surface has buffer at creation
When a surface has a buffer at creation time we send an error, which results
in a disconnection and all resources being destroyed.

Since we send that error and return before performing the configure_list init
weston_desktop_xdg_surface_destroy() will walk an uninitialized list and
dereference a NULL pointer.

Initializing the list earlier prevents this from happening.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-03-14 19:02:48 -05:00
..
client.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop/xdg-shell-v5: Drop xdg-shell v5 support 2018-02-14 10:09:51 +02:00
libweston-desktop-uninstalled.pc.in buildsystem: add missing pkg-config stub for libweston uninstalled 2017-11-10 12:50:41 -06:00
libweston-desktop.c libweston-desktop/xdg-shell-v5: Drop xdg-shell v5 support 2018-02-14 10:09:51 +02:00
libweston-desktop.h libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c libweston: Make weston_seat release safe 2018-02-15 13:14:14 +02:00
surface.c libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
wl-shell.c libweston: Make weston_seat release safe 2018-02-15 13:14:14 +02:00
xdg-shell-v6.c libweston-desktop/xdg-shell-v6: Fix crash when surface has buffer at creation 2018-03-14 19:02:48 -05:00
xwayland.c libweston-desktop/xwayland: Make sure racy surfaces are properly mapped 2017-12-11 09:34:26 +00:00