Skip to content

venus: Reject misaligned VkShaderModuleCreateInfo::codeSize

Reject codeSize unless it's a multiple of 4. This prevents the native driver from doing an out-of-bounds access on pCode when the guest sends us an invalid codeSize.

Tested with dEQP-VK.api.smoke.create_shader.

Merge request reports

Loading