diff options
author | Mathieu Chartier <mathieuc@google.com> | 2018-01-25 16:55:44 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2018-01-26 01:15:57 +0000 |
commit | 4e046e211cb836c702429bf8af3499aa4ecf3a36 (patch) | |
tree | aad5ea792cbb9ff573d7931f75a551a936c8b4ba /compiler/optimizing/codegen_test_utils.h | |
parent | 44720c6fb84f85bd7628a020ed1097e744f0b660 (diff) |
Fix container overflow for compact dex writer
ASAN detected a container overflow regarding string item
deduping. The problem was that Skip(1) did not ensure growth of the
backing buffer. This resulted in occasionally reading one byte past
the end. Also added ensure growth to Seek().
Test: SANITIZE_HOST=address mma dump-oat-boot -k -j64
Bug: 63756964
Change-Id: I5b91f9e6cca7ee37cc304517f4655ba8946b772d
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions