[sanitizer] improve the calloc overflow check (spotted by samsonov@)
authorKostya Serebryany <kcc@google.com>
Fri, 25 Jan 2013 12:22:21 +0000 (12:22 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 25 Jan 2013 12:22:21 +0000 (12:22 +0000)
commitc1056f90ae31eab1e42b83108520b96c62e8b726
tree5fd280cb95684598e47bf5b7e16b9a484a136e45
parentfa79cd65e2a08979c0d76b6f0dec6192161e5611
[sanitizer] improve the calloc overflow check (spotted by samsonov@)

llvm-svn: 173443
compiler-rt/lib/asan/tests/asan_noinst_test.cc
compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc