summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2023-02-28 14:01:10 +0100
committerValentin Clement <clementval@gmail.com>2023-02-28 14:01:32 +0100
commit91ee72d10e9f64c8c046115c5cdf35e08dd6f70d (patch)
treede42d5f27f9296d57b5ba7d0986d2435966be3fd /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent905fa15d84a69a0b31332868880568c825d9b0f1 (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