diff options
| author | 2019-08-20 11:13:58 -0700 | |
|---|---|---|
| committer | 2019-08-20 12:10:46 -0700 | |
| commit | 323e8c616e12f98eb12b39b486aafe988dba202d (patch) | |
| tree | 789318a70be1a4b5a1b057a7d75f228b0ea79c2e /build/apex/art_apex_test.py | |
| parent | 82e347bd4e0afa7ab3895c197cc36242cf169db1 (diff) | |
Fix out-of-bounds read in ApiList::Dump.
In this loop i ranges from DomainApi::kMin to DomainApi:kMax, while API
names in kDomainApiNames are stored at indexes starting from zero, so we need
to subtract DomainApi::kMin before indexing into kDomainApiNames. Found by
running CTS under HWASAN with the new global instrumentation support.
Bug: 139749928
Change-Id: Ib35c4494e7652cfaf84e07ff362210d67a50fba2
Diffstat (limited to 'build/apex/art_apex_test.py')
0 files changed, 0 insertions, 0 deletions