[all-commits] [llvm/llvm-project] 7450a0: [msan] Add test for deferencing zero-sized malloc/...

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


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

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

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

MSan 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