[all-commits] [llvm/llvm-project] 629afd: [flang][Lower] Fix use-after-free with TypeRange (...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Tue Mar 12 05:53:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 629afd4dea1860755b4b7c05bb48538b8710c9d1
https://github.com/llvm/llvm-project/commit/629afd4dea1860755b4b7c05bb48538b8710c9d1
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/lib/Lower/IO.cpp
Log Message:
-----------
[flang][Lower] Fix use-after-free with TypeRange (#84369)
TypeRange is an iterator range, it does not own storage spanned by the
iterators. When using TypeRange, make sure that the actual contents
don't "expire" while the range is in use.
This was detected by address sanitizer.
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