mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
GP-5079 added null check to parentOffsetMap
This commit is contained in:
parent
541928ac5d
commit
c4132d02d8
@ -2454,7 +2454,11 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer {
|
||||
|
||||
Map<RecoveredClass, Integer> parentOffsetMap = getBaseClassOffsetMap(recoveredClass);
|
||||
|
||||
return parentOffsetMap.get(virtualParentClasses.get(0));
|
||||
if (parentOffsetMap != null) {
|
||||
return parentOffsetMap.get(virtualParentClasses.get(0));
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user