diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-10-18 11:11:20 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-10-18 15:11:21 +0200 |
| commit | 6f59f302e4358b4dc869bc298c2b9c06aa716b60 (patch) | |
| tree | 8754201434e20e145d663a3072633cc8c93c1d8b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 4bcb85c638c1c1719c5c01a70ee2e376e4032d2a (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
