diff options
| author | 2020-03-03 12:51:24 -0800 | |
|---|---|---|
| committer | 2020-03-04 20:02:55 +0000 | |
| commit | 0a52509e8cdc6da93daab9c34fdbb63232fa8adf (patch) | |
| tree | 1a1a84efee0347d90ac0491b092d1d49d97328d6 /vulkan/libvulkan/api.cpp | |
| parent | 5fad64e09b8a02d4cc14475a92aa612e38cd39f1 (diff) | |
ISurfaceComposer: boundary check input on CAPTURE_LAYERS
Add a sanity check on numExcludeHandles to make sure we don't cause
an overflow.
Test: adb shell /data/nativetest64/SurfaceFlinger_test/SurfaceFlinger_test
Fixes: 146435753
Change-Id: I2c700392727e2f4e0e434fb4c1800f2973c7418b
Merged-In: I2c700392727e2f4e0e434fb4c1800f2973c7418b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions