HomePhabricator

[AddressSanitizer] [Windows] Fix HeapReAlloc and _recalloc bugs in…

Description

[AddressSanitizer] [Windows] Fix HeapReAlloc and _recalloc bugs in asan_malloc_win.cc

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.
https://reviews.llvm.org/D61268

Details

Committed
mcgovApr 29 2019, 1:26 PM
Branches
Unknown
Tags
Unknown