[compiler-rt] [sanitizer] Always report invalid aligned operator new requests (PR #225847)

Justin T. Gibbs via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 13:18:51 PDT 2026


================
@@ -1216,8 +1216,6 @@ void* asan_new_aligned(uptr size, uptr alignment, BufferedStackTrace* stack,
                        bool array) {
   if (UNLIKELY(alignment == 0 || !IsPowerOfTwo(alignment))) {
     errno = errno_EINVAL;
----------------
scsiguy wrote:

Removed.

https://github.com/llvm/llvm-project/pull/225847


More information about the llvm-commits mailing list