aboutsummaryrefslogtreecommitdiff
path: root/include/list.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-03-21 18:35:36 +0100
committerFurkan Sahin <furkan-dev@proton.me>2025-03-21 18:35:36 +0100
commitf9b92b4668cbffe3efc75a04dd1bae415e7077ad (patch)
treeeae246cd4915db70ccc8160f112f2a29e460a64d /include/list.h
parent4fa27dd69b2cfcf2858c59686ea6e627aea6909d (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/list.h')
0 files changed, 0 insertions, 0 deletions