[PATCH] D34799: [Sanitizers] Rename CallocShouldReturnNullDueToOverflow to CheckForCallocOverflow
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 14:54:59 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL306747: [Sanitizers] Rename CallocShouldReturnNullDueToOverflow to… (authored by alekseyshl).
Changed prior to commit:
https://reviews.llvm.org/D34799?vs=104717&id=104746#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34799
Files:
compiler-rt/trunk/lib/lsan/lsan_allocator.cc
Index: compiler-rt/trunk/lib/lsan/lsan_allocator.cc
===================================================================
--- compiler-rt/trunk/lib/lsan/lsan_allocator.cc
+++ compiler-rt/trunk/lib/lsan/lsan_allocator.cc
@@ -135,7 +135,7 @@
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) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34799.104746.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/612365ee/attachment.bin>
More information about the llvm-commits
mailing list