mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 12:49:45 +00:00
Merge remote-tracking branch
'origin/GP-5079_ghidra007_AddNullCheck_parentOffsetMap_rttiScript' into patch (Closes #7123)
This commit is contained in:
commit
af380fd265
@ -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