diff options
| author | Alexandros Frantzis <alexandros.frantzis@collabora.com> | 2022-11-15 11:44:55 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-02-28 11:22:04 +0000 |
| commit | d72f9007c36f2f8ad2dc26178545e8a7f5b993a0 (patch) | |
| tree | fbfaf9f1c8cf1056d55d1faa06416d49a4178334 /tests/cpp-compile-test.cpp | |
| parent | tests: Support tests that check for client failure (diff) | |
| download | wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar.gz wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar.bz2 wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar.lz wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar.xz wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.tar.zst wayland-d72f9007c36f2f8ad2dc26178545e8a7f5b993a0.zip | |
client: Abort when trying to add an event to a destroyed queue
Detect when we are trying to add an event to a destroyed queue,
and abort instead of causing a use-after-free memory error.
This situation can occur when an wl_event_queue is destroyed before
its attached wl_proxy objects.
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
