[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

llvm-svn: 306747
This commit is contained in:
Alex Shlyapnikov 2017-06-29 21:54:37 +00:00
parent 93c1a8c7c7
commit cb823f6a19
1 changed files with 1 additions and 1 deletions

View File

@ -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) {