diff options
| author | Valentin Clement <clementval@gmail.com> | 2023-02-28 14:01:10 +0100 |
|---|---|---|
| committer | Valentin Clement <clementval@gmail.com> | 2023-02-28 14:01:32 +0100 |
| commit | 91ee72d10e9f64c8c046115c5cdf35e08dd6f70d (patch) | |
| tree | de42d5f27f9296d57b5ba7d0986d2435966be3fd /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 905fa15d84a69a0b31332868880568c825d9b0f1 (diff) | |
[flang] Fix potential segfault in PointerAssociateRemapping
The bounds descriptor passed to the function is an array of [2, newRank]
size. Update the code so the rank is retrieved from the second dimension
and not the rank of the descriptor directly as it will be 2 in any case.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D144949
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
