[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:
parent
93c1a8c7c7
commit
cb823f6a19
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue