RESTRICT AUTOMERGE: CTS: Verify DynamicRefTable::load security fix
This tests that corrupted apks fail to install on P and later as well as
adds a new test to verify that the DynamicRedTable::load security fix
prevents out-of-bounds reads from occurring.
Bug: 79488511
Bug: 110152782
Bug: 111909377
Test: run cts -m CtsAppSecurityHostTestCases \
-t android.appsecurity.cts.CorruptApkTests
Change-Id: I5b60758cb4979c6a593ff57e73acdd559b5d1be7
Merged-In: I5b60758cb4979c6a593ff57e73acdd559b5d1be7
(cherry picked from commit b670a5e800ae1cb885afb4f96e7cdeeff91c14d2)
5 files changed