aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-10-19 07:54:36 +0200
committerFurkan Sahin <furkan-dev@proton.me>2021-10-19 07:54:36 +0200
commitdaebe6a55864ce96976ee62d9ef8841713a3eb65 (patch)
treeb6bfb249e29b08aa17dbc76e0e7ed43bcf21969f /common
parent7a4960953866910f2e3f092fa4a2fe384849d38a (diff)
container: Fix crash when view unmaps + maps quickly
Followup on a3fdc2b4af. If a view quickly maps and unmaps repeatedly, there will be multiple destroyed containers with same view in a single transaction. Each of these containers will then try to destroy this view, resulting in use after free. The container should only destroy the view if the view still belongs to the container. Simple reproducer: couple XMapWindow + XUnmapWindow in a loop followed by XDestroyWindow. See #6605
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions