mesa/src/vulkan
Jason Ekstrand 24637a6579 vulkan/shader_module: Fix the lifetime of temporary shader modules
The vk_shader_module_handle_from_nir() macro was constructing a
temporary vk_shader_module and passing it through
vk_shader_module_to_handle().  Since this is a function and not a macro,
it means that the lifetime of the temporary vk_shader_module will end
once the to_handle() function is called.  Technically, this is a
use-after-free.  I really don't know why no one has been bitten by this
yet....

Fixes: a41e98ddca "vk/util: add a util macro for initializing stack..."
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13101>
2021-09-29 23:27:52 +00:00
..
device-select-layer vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-05-04 21:26:21 +00:00
overlay-layer vulkan/overlay: Fix violation of VUID-VkMappedMemoryRange-size-01389 2021-07-30 11:38:40 +00:00
registry vulkan: Update the XML and headers to 1.2.193 2021-09-24 17:55:10 +00:00
util vulkan/shader_module: Fix the lifetime of temporary shader modules 2021-09-29 23:27:52 +00:00
wsi X11: Ensure that VK_SUBOPTIMAL_KHR propagates to user code 2021-09-20 16:43:10 +00:00
meson.build vulkan/wsi: add support for detecting mit-shm pixmaps. 2021-08-29 20:26:13 +00:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00