aboutsummaryrefslogtreecommitdiff
path: root/include/client
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2025-12-18 23:02:32 +0530
committerKenny Levinsen <kl@kl.wtf>2025-12-19 14:05:18 +0100
commit238f0d4a8b399f0df6791c47eb54c8636722d5a9 (patch)
tree77a9f0791b8c7078e7cee30e976a0e9ddc06bdbd /include/client
parentfa81ce8ee64d690b881d97b734583e26cb2acb72 (diff)
tiling_resize: fix use-after-free on view unmap during resize
Closing a tiled window (mod+shift+q) while resizing (mod+click) causes an use-after-free in handle_unref. Both conditions can be true in this case, which will result in dereferencing `e` on the second check after it has already been freed by the first `seatop_begin_default`. Fix by combining separate checks for the main container and its horizontal/vertical siblings into a single condition. The second check was added in 9e272a7986aa586a73951069aa76068e408a2c3f and I've checked that this fix does not regress that issue.
Diffstat (limited to 'include/client')
0 files changed, 0 insertions, 0 deletions