[all-commits] [llvm/llvm-project] 34e8af: [Support] Recycler: Enforce minimum allocation siz...

Akshat Oke via All-commits all-commits at lists.llvm.org
Sun Jan 5 22:24:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34e8aff480dd9cd0372a7c14d13dfca5d3cd1a24
      https://github.com/llvm/llvm-project/commit/34e8aff480dd9cd0372a7c14d13dfca5d3cd1a24
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Support/Recycler.h
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/RecyclerTest.cpp

  Log Message:
  -----------
  [Support] Recycler: Enforce minimum allocation size (#121425)

Recycler uses reinterpret_cast to an internal structure of size 8.
Invalid write occurs if Recycler is used for objects with sizes less
than 8.



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