diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-10-18 23:21:06 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-10-18 23:30:31 -0700 |
commit | 957a5e987444d3193575d6ad8afe6c75da00d794 (patch) | |
tree | 71f96dd356ba350dd50e662a9947cee95a650833 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 8189c4eee74959882f4f31c6c5f969cec5cca7eb (diff) | |
download | llvm-957a5e987444d3193575d6ad8afe6c75da00d794.zip llvm-957a5e987444d3193575d6ad8afe6c75da00d794.tar.gz llvm-957a5e987444d3193575d6ad8afe6c75da00d794.tar.bz2 |
[lldb] Fix nullptr dereference in AppleObjCRuntimeV2
Fix a potential nullptr dereference in AppleObjCRuntimeV2 by checking
the result of GetClassInfoUtilityFunction and returning a failure if
it's null.
The DynamicClassInfoExtractor was already doign the right thing, but the
SharedCacheClassInfoExtractor was missing this check.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions