[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 12:47:55 PDT 2019


mcgov updated this revision to Diff 197166.
mcgov added a comment.

fix call to get_usable_size so that it is not called unless HEAP_ZERO_MEMORY is passed in (the only case when it is needed).


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61268/new/

https://reviews.llvm.org/D61268

Files:
  compiler-rt/lib/asan/asan_malloc_win.cc
  compiler-rt/test/asan/TestCases/Windows/heaprealloc_zero_size.cc
  compiler-rt/test/asan/TestCases/Windows/recalloc_sanity.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61268.197166.patch
Type: text/x-patch
Size: 4839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/1c54fcaf/attachment.bin>


More information about the llvm-commits mailing list