summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-10-18 11:11:20 +0200
committerNikita Popov <npopov@redhat.com>2022-10-18 15:11:21 +0200
commit6f59f302e4358b4dc869bc298c2b9c06aa716b60 (patch)
tree8754201434e20e145d663a3072633cc8c93c1d8b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent4bcb85c638c1c1719c5c01a70ee2e376e4032d2a (diff)
[lldb] Fix m_hwp_regs size for ppc64le (PR54520)
The size of the m_hwp_regs array should match the default value of m_max_hwp_supported. This ensures that no out-of-bounds accesses occur, even if the array is accessed prior to a call to ReadHardwareDebugInfo(). Fixes https://github.com/llvm/llvm-project/issues/54520, see also there for additional background. Differential Revision: https://reviews.llvm.org/D136144
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions