commit | 531c7d983da8debc447c1b3f9aee76a291376705 | [log] [tgz] |
---|---|---|
author | Alexander Potapenko <glider@google.com> | Mon Aug 06 12:24:39 2012 +0000 |
committer | Alexander Potapenko <glider@google.com> | Mon Aug 06 12:24:39 2012 +0000 |
tree | 632d1e89ffaafba2802ddf0a1514df28a3a3179d | |
parent | 897e89f84c42bd166521684c1aedb7d5bec6954b [diff] |
AllocationSize(ptr) should check that |ptr| actually points to the beginning of the chunk it belongs to. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=86 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161320 91177308-0d34-0410-b5e6-96231b3b80d8