godot/drivers
ChibiDenDen d104d8447b
Fix use-after-free for VkAttachmentReference
In the flow where VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME does not exist
VkAttachmentReference are created inside a loop and their backing buffer is referenced in the subpass object.
the VkAttachmentReference vectors are freed once the loop exists, causing the subpass to point to freed data.

Add all the VkAttachmentReference to a vector in the scope of the entire function, to ensure they are not freed until vkCreateRenderPass is called
2023-02-20 11:54:52 +02:00
..
alsa [Linux] Make SO wrapper usage optional. 2023-02-16 16:38:47 +02:00
alsamidi [Linux] Make SO wrapper usage optional. 2023-02-16 16:38:47 +02:00
coreaudio Further refactoring to AudioDriver implementations after #69120. 2023-02-09 11:02:00 +01:00
coremidi One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gl_context Regenerate GL loader code with GLAD 2 2022-11-14 21:48:01 +01:00
gles3 Merge pull request #73524 from clayjohn/GL-occluder 2023-02-18 16:19:44 +01:00
png One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
pulseaudio [Linux] Make SO wrapper usage optional. 2023-02-16 16:38:47 +02:00
unix Restore FileAccess.close method. 2023-02-16 15:34:20 +02:00
vulkan Fix use-after-free for VkAttachmentReference 2023-02-20 11:54:52 +02:00
wasapi Further refactoring to AudioDriver implementations after #69120. 2023-02-09 11:02:00 +01:00
windows Restore FileAccess.close method. 2023-02-16 15:34:20 +02:00
winmidi One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
xaudio2 Further refactoring to AudioDriver implementations after #69120. 2023-02-09 11:02:00 +01:00
register_driver_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_driver_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Refactor SPIR-V reflection into a generic RenderingDevice feature 2022-12-12 14:14:53 +01:00