commit | 421dbc20047e9cca764c1cf325f1bd6fbeea9f68 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Jul 11 08:32:29 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue Jul 11 08:37:13 2017 -0700 |
tree | 1eaf0475b37dcbeed5255e578748f49e6e733f86 | |
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