commit | 47730d67169a3c12c50c1561f75cd0f619acc0f0 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue May 16 15:12:48 2017 -0700 |
committer | Dan Stoza <stoza@google.com> | Wed May 17 13:32:35 2017 -0700 |
tree | fb0cd9f55a622195a0a9c2291f6f423b36a9108f | |
parent | 4820c841973f18ef81f3c0b8e186e8220dc80ed6 [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