diff options
| author | 2023-08-10 13:32:55 -0600 | |
|---|---|---|
| committer | 2023-08-10 18:57:43 -0600 | |
| commit | 5b527a04badf4f2aeca1b9bd7a94375a7a8aea5b (patch) | |
| tree | bc4fd1169b2238adc7c71b303abe68efedce9bcd /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | d56c5ca60360312775847f21132aafdf31c52432 (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
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions