Fix realloc'ing freed/invalid pointers
commit41d69f4fd5454d5bf2614cbb3e8ed77a935c880b
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 20 May 2013 13:05:58 +0000 (20 13:05 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 20 May 2013 13:05:58 +0000 (20 13:05 +0000)
treeef9d7a3fc193a279be4ff4020ac083dbb15a00b9
parente7ca05603222f61bab630f619bf59c0c927ff7de
Fix realloc'ing freed/invalid pointers

See https://code.google.com/p/address-sanitizer/issues/detail?id=187 for the details

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/asan_allocator2.cc
lib/asan/tests/asan_test.cc