[all-commits] [llvm/llvm-project] cf6326: [flang] Don't crash attempting to fold absurdly la...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Dec 16 11:43:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf63261b7789ba42ca6db04cfec54a8524d7487b
https://github.com/llvm/llvm-project/commit/cf63261b7789ba42ca6db04cfec54a8524d7487b
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M flang/lib/Evaluate/fold.cpp
Log Message:
-----------
[flang] Don't crash attempting to fold absurdly large TRANSFER()
Apply some sanity checking to the type size and SIZE= values and
avoid crashing on stress tests that attempt to create excessively
large results.
Differential Revision: https://reviews.llvm.org/D140138
More information about the All-commits
mailing list