[all-commits] [llvm/llvm-project] 957a5e: [lldb] Fix nullptr dereference in AppleObjCRuntimeV2
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Oct 18 23:30:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 957a5e987444d3193575d6ad8afe6c75da00d794
https://github.com/llvm/llvm-project/commit/957a5e987444d3193575d6ad8afe6c75da00d794
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2021-10-18 (Mon, 18 Oct 2021)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list