wlroots/backend
emersion babdd6ccf7
backend: fix use-after-free when destroying backends
The backend destroy signal is emitted before the output_remove
signal is. When the destroy signal is emitted listeners remove
their output_remove listener, so the output_remove signal is never
received and listeners have an invalid output pointer.

The correct way to solve this would be to remove the output_remove
signal completely and use the wlr_output.events.destroy signal
instead. This isn't yet possible because wl_signal_emit is unsafe
and listeners cannot be removed in listeners.
2018-01-30 19:45:57 +01:00
..
drm backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
headless backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
libinput backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
multi backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
session style: add comment to empty while loop in logind.c 2018-01-21 17:00:15 +01:00
wayland backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
x11 backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
backend.c backend: fix use-after-free when destroying backends 2018-01-30 19:45:57 +01:00
meson.build Merge remote-tracking branch 'upstream/master' into output-damage 2018-01-28 21:22:50 +01:00