diff options
| author | 2017-07-11 08:32:29 -0700 | |
|---|---|---|
| committer | 2017-07-11 08:37:13 -0700 | |
| commit | 421dbc20047e9cca764c1cf325f1bd6fbeea9f68 (patch) | |
| tree | 1eaf0475b37dcbeed5255e578748f49e6e733f86 /compiler/optimizing/codegen_test_utils.h | |
| parent | 092af0b51a9baf2513ab56cef0c62b14e7364c9d (diff) | |
ART: Fix ArenaAllocator invariant check in Realloc
It is indeed possible to see end == ptr_ under sanitization in the
case that the caller Reallocs a (null, 0) allocation. This happens,
for example, in the classlinker during linking of methods (empty
interface method list).
Bug: 31098551
Test: ART_ENABLE_ADDRESS_SANITIZER=true SANITIZE_HOST=address m test-art-host
Change-Id: Ie79f27c39e07cc3793c0766fa8ea233b488dfaf0
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions