diff options
| author | Paul Kirth <paulkirth@google.com> | 2022-07-22 17:34:58 +0000 |
|---|---|---|
| committer | Paul Kirth <paulkirth@google.com> | 2022-07-22 17:36:30 +0000 |
| commit | 30360d88d42214e75215145c4e73a74aaf93ddfd (patch) | |
| tree | e869e3e52b56dfb6ded5e718163a4ce64d3a0c01 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3b0c78fe3bc9e20061e38935ca6d4fb435027f41 (diff) | |
[clang-doc] Add check for pointer validity
clang-doc would SEGV when running over the Fuchsia code base.
This patch adds a check to avoid dereferencing potentially null pointers
in the Values vector. These pointers were either never valid or had been
invalidated when the underlying pointer in std::unique_ptr was moved from,
hence making it nullptr within the vector.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D130279
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
