[all-commits] [llvm/llvm-project] ac0ece: [flang] Fix use-after-free in `MemoryAllocation.cpp`
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sun Mar 3 21:58:30 PST 2024
Branch: refs/heads/users/matthias-springer/fix_flang_1
Home: https://github.com/llvm/llvm-project
Commit: ac0eceef06dc5e645e912af8f58ac35f9b00a945
https://github.com/llvm/llvm-project/commit/ac0eceef06dc5e645e912af8f58ac35f9b00a945
Author: Matthias Springer <springerm at google.com>
Date: 2024-03-04 (Mon, 04 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
Log Message:
-----------
[flang] Fix use-after-free in `MemoryAllocation.cpp`
`AllocaOpConversion` takes an `ArrayRef<Operation *>`, but the
underlying `SmallVector<Operation *>` was dead by the time the pattern
ran.
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