diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-06-29 21:54:37 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-06-29 21:54:37 +0000 |
commit | 2cd50a16aec00d8d739ff8a8f669027fef286c1d (patch) | |
tree | 9a890be3ac3f2f8bcba1a468ffcec0f5910a6888 /lib/lsan | |
parent | db318dfe3724c49f4a628715745799bc7e63e6f5 (diff) |
[Sanitizers] Rename CallocShouldReturnNullDueToOverflow to CheckForCallocOverflow
Summary:
Due to changes in semantics, CheckForCallocOverflow makes much more sense
now.
Reviewers: eugenis
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D34799
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@306747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan')
-rw-r--r-- | lib/lsan/lsan_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsan/lsan_allocator.cc b/lib/lsan/lsan_allocator.cc index f54e95373..b867643b6 100644 --- a/lib/lsan/lsan_allocator.cc +++ b/lib/lsan/lsan_allocator.cc @@ -135,7 +135,7 @@ void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack) { size *= nmemb; - return Allocate(stack, size, 1, true); + return Allocate(stack, size, 1, true /**/); } void *lsan_valloc(uptr size, const StackTrace &stack) { |