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

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 12:57:00 PDT 2019


vitalybuka added a comment.

LGTM



================
Comment at: compiler-rt/lib/asan/asan_malloc_win.cc:147
+    if (old_size < size)
+        REAL(memset)(((BYTE *)new_alloc) + old_size, 0, size - old_size);
+    free(p);
----------------
not formated?


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D61268





More information about the llvm-commits mailing list