summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Ian Elliott <ianelliott@google.com> 2023-08-10 13:32:55 -0600
committer Ian Elliott <ianelliott@google.com> 2023-08-11 22:54:29 +0000
commit3b48e15760dbc6999833f1be83b0cf75e2bcf8e3 (patch)
treea57c09feae71cd360e1e4c876aa4d3b11f1dcbe1 /libs/gui/LayerState.cpp
parent574ac3e232b96a5639f29b1161d8643ae2c5c0d1 (diff)
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(). Test: Manual testing with logcat Bug: 288929054 Change-Id: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd Merged-In: I096a6752e0f4abef868efdb6f8b4bcbd0c0c79cd
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions