[all-commits] [llvm/llvm-project] e50276: [asan] Add test for deferencing zero-sized malloc/...

Thurston Dang via All-commits all-commits at lists.llvm.org
Thu Aug 28 15:49:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e502768dbc8214b927d952505ea9a31fe50dee95
      https://github.com/llvm/llvm-project/commit/e502768dbc8214b927d952505ea9a31fe50dee95
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    A compiler-rt/test/asan/TestCases/zero_alloc.cpp

  Log Message:
  -----------
  [asan] Add test for deferencing zero-sized malloc/calloc (#155933)

ASan fails to catch this, because 0-byte allocations are converted into
1-byte allocations.

Bug originally reported by dvyukov



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list