[all-commits] [llvm/llvm-project] 52fbf3: [Clang] Fix stack-use-after-return in TryArrayCopy...
TPPPP via All-commits
all-commits at lists.llvm.org
Fri May 8 07:23:17 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52fbf34e35194d05951dfd76a45cc886cf3e4ba5
https://github.com/llvm/llvm-project/commit/52fbf34e35194d05951dfd76a45cc886cf3e4ba5
Author: TPPPP <TPPPP72 at outlook.com>
Date: 2026-05-08 (Fri, 08 May 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaCXX/gh192026.cpp
Log Message:
-----------
[Clang] Fix stack-use-after-return in TryArrayCopy by allocating OpaqueValueExpr on the ASTContext (#192080)
Change the `OpaqueValueExpr` in `TryArrayCopy` from stack memory to heap
memory to avoid stack-use-after-return.
Fixes #192026
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