diff options
| author | Ferdinand Bachmann <ferdinand.bachmann@yrlf.at> | 2025-03-21 18:35:36 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-04-13 23:40:56 +0200 |
| commit | 240a69ad63ad36893132ab1187035654d9478436 (patch) | |
| tree | eae246cd4915db70ccc8160f112f2a29e460a64d /include/loop.h | |
| parent | ab2e1f5817a8024366fcb02285c978c5fef7dae1 (diff) | |
server: recreate renderer in idle callback to avoid UAF
Destroying the wlr_renderer in a callback to its own renderer_lost event
is unsafe due to wl_signal_emit*() still accessing it after it was
destroyed.
Delegate recreation of renderer to an idle callback and ensure that only
one such idle callback is scheduled at a time by storing the returned
event source.
Diffstat (limited to 'include/loop.h')
0 files changed, 0 insertions, 0 deletions
