mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
GP-5079 added null check to parentOffsetMap
This commit is contained in:
parent
541928ac5d
commit
c4132d02d8
1 changed files with 5 additions and 1 deletions
|
@ -2454,7 +2454,11 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer {
|
||||||
|
|
||||||
Map<RecoveredClass, Integer> parentOffsetMap = getBaseClassOffsetMap(recoveredClass);
|
Map<RecoveredClass, Integer> parentOffsetMap = getBaseClassOffsetMap(recoveredClass);
|
||||||
|
|
||||||
return parentOffsetMap.get(virtualParentClasses.get(0));
|
if (parentOffsetMap != null) {
|
||||||
|
return parentOffsetMap.get(virtualParentClasses.get(0));
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue