diff options
author | Dan Stoza <stoza@google.com> | 2017-05-01 16:31:53 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2017-05-15 12:20:19 -0700 |
commit | 90ce2a9c1d3af422c66b4061805831cb208263d8 (patch) | |
tree | 0c2cfc11bad7bdc0d0d8fa0cb4aad022f50937c5 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | bec844f6d4661325b3f925073876b381882d3e73 (diff) |
libgui: Check slot received from IGBP in Surface
Checks that the slot number received from mGraphicBufferProducer in
Surface::dequeueBuffer is on the interval [0, NUM_BUFFER_SLOTS) to
protect against a malicious BnGraphicBufferProducer.
Bug: 36991414
Change-Id: I1a76fd1bcce1c558f1c0c30f03638278288ed4fa
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions