Merge remote-tracking branch

'origin/GP-5079_ghidra007_AddNullCheck_parentOffsetMap_rttiScript' into
patch (Closes #7123)
This commit is contained in:
Ryan Kurtz 2024-10-31 05:57:58 -04:00
commit af380fd265

View File

@ -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;
}