diff options
author | Dan Stoza <stoza@google.com> | 2017-05-01 16:31:53 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2017-05-01 16:31:53 -0700 |
commit | ac93b3a30e97a441d01e8e25b33ec6840aa3f59b (patch) | |
tree | f0fa95a56615001f3503140457b6471c98f98e5b /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 2ae83f4f628d4da96f363d0668380ba1f753b867 (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