[PATCH] D61268: [AddressSanitizer] [Windows] Fix HeapReAlloc and _recalloc bugs in asan_malloc_win.cc
Matthew G McGovern via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 10:20:14 PDT 2019
mcgov created this revision.
mcgov added reviewers: rnk, vitalybuka, mstorsjo.
mcgov added a project: Sanitizers.
Herald added subscribers: llvm-commits, kubamracek.
Herald added a project: LLVM.
HeapReAlloc should allow for 0 sized reallocations without freeing the memory block provided by the user.
_recalloc previously did not zero new memory after reallocation.
This commit also contains formatting changes from running clang-format on asan_malloc_win.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D61268
Files:
compiler-rt/lib/asan/asan_malloc_win.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61268.197135.patch
Type: text/x-patch
Size: 5530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/6278a8ed/attachment.bin>
More information about the llvm-commits
mailing list