Skip to content

wsi/wayland: Fix use after free from improperly stored VkAllocationCallbacks

Derek Foreman requested to merge derekf/mesa:fix_uaf into main

What does this MR do and why?

wsi/wayland: Fix use after free from improperly stored VkAllocationCallbacks

These callbacks are no longer valid when cleaning up, and a use after free
occurs.

There's no need to store this at all anyway, so just stop doing that.

Fixes: 57c03fe4
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11184

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>

Merge request reports