Skip to content
Snippets Groups Projects
Verified Commit 29914fb1 authored by Ian Elliott's avatar Ian Elliott Committed by Simão Gomes Viana
Browse files

Vulkan: Avoid buffer overflow by ignoring duplicate extensions


For any instance extension that a Vulkan driver supports, if a
VkInstance is created with that extension listed multiple times, the
2nd-nth times should be ignored.  That avoids overwriting an array in
CreateInfoWrapper::FilterExtension().

CRs-Fixed: 3430007
Test: Manual testing with logcat
Bug: 288929054
Change-Id: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd
(cherry picked from commit 3b48e157)
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 07a97079
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment