summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2017-05-16 15:12:48 -0700
committer Dan Stoza <stoza@google.com> 2017-05-17 13:32:35 -0700
commit47730d67169a3c12c50c1561f75cd0f619acc0f0 (patch)
treefb0cd9f55a622195a0a9c2291f6f423b36a9108f /libs/gui/BufferQueueConsumer.cpp
parent4820c841973f18ef81f3c0b8e186e8220dc80ed6 (diff)
libgui: Add test for OOB slot number in dequeue
Adds a unit test that verifies that a malicious BnGraphicBufferProducer cannot pass an invalid slot number to a Surface and thus cause the Surface to segfault (or otherwise access out-of-bounds memory). Bug: 36991414 Test: The new Malicious* tests pass after applying the security patch Change-Id: I2083465a496cfcc8e8c3b3bc288f5f6904005ac3
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions