wlroots/backend/drm
Simon Ser 6ca82087b1 backend/drm: fix segfault in init_drm_surface
When surf->gbm was previously set, we destroy it without setting it to
NULL. Later on, we only create the GBM surface if surf->gbm is NULL.
This result in a use-after-free when we start using surf->gbm.

Closes: https://github.com/swaywm/wlroots/issues/1868
Closes: https://github.com/swaywm/wlroots/issues/1874
Closes: https://github.com/swaywm/sway/issues/4785
Closes: https://github.com/swaywm/sway/issues/4717
Closes: https://github.com/swaywm/sway/issues/4730
Fixes: 2bdd1d0896 ("backend/drm: use modifiers for our GBM buffers")
2019-12-05 10:49:04 -05:00
..
atomic.c Add -Wmissing-prototypes 2019-11-20 02:05:03 +00:00
backend.c backend/drm, backend/libinput: listen to session destroy 2019-12-01 10:26:12 -05:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c Amend typos 2019-11-23 10:33:47 -05:00
legacy.c Add -Wmissing-prototypes 2019-11-20 02:05:03 +00:00
properties.c backend/drm: check format when scanning out DMA-BUF 2019-06-07 09:06:11 -04:00
renderer.c backend/drm: fix segfault in init_drm_surface 2019-12-05 10:49:04 -05:00
util.c backend/drm: add support for multiplanar BOs 2019-06-07 09:06:11 -04:00