Commit 4e046e21 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

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
parent 44720c6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment