[all-commits] [llvm/llvm-project] c6ea5b: [HWASAN] Modify HwasanAllocate to set the size to ...

kstoimenov via All-commits all-commits at lists.llvm.org
Mon Feb 6 16:01:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ea5b0cd1728a044a4c5b3c8f1bf35e1d8d2847
      https://github.com/llvm/llvm-project/commit/c6ea5b0cd1728a044a4c5b3c8f1bf35e1d8d2847
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp

  Log Message:
  -----------
  [HWASAN] Modify HwasanAllocate to set the size to 1 if requested size is 0

This should keep it consistent with LSAN and ASAN,

Reviewed By: vitalybuka, MaskRay

Differential Revision: https://reviews.llvm.org/D143438




More information about the All-commits mailing list