Skip to content

Commit 5617485

Browse files
committed
GP-6100 - PDB - fixed NPE due to function null container class
1 parent 996f6d5 commit 5617485

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/DefaultPdbApplicator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,6 +2228,9 @@ boolean isClass(SymbolPath path) {
22282228

22292229
//==============================================================================================
22302230
void predefineClass(SymbolPath classPath) {
2231+
if (classPath == null) {
2232+
return;
2233+
}
22312234
isClassByNamespace.put(classPath, true);
22322235
for (SymbolPath path = classPath.getParent(); path != null; path = path.getParent()) {
22332236
if (!isClassByNamespace.containsKey(path)) {

0 commit comments

Comments
 (0)