mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-3016: Fix NPE in VariableValueHoverService
This commit is contained in:
parent
d55b7e9aa9
commit
39b34b0497
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ public class VariableValueHoverService extends AbstractConfigurableHover
|
||||||
public CompletableFuture<VariableValueTable> fillVariableValueTable(VariableValueTable table,
|
public CompletableFuture<VariableValueTable> fillVariableValueTable(VariableValueTable table,
|
||||||
ProgramLocation programLocation, DebuggerCoordinates current,
|
ProgramLocation programLocation, DebuggerCoordinates current,
|
||||||
FieldLocation fieldLocation, Field field, List<String> warnings) {
|
FieldLocation fieldLocation, Field field, List<String> warnings) {
|
||||||
if (traceManager == null || mappingService == null) {
|
if (traceManager == null || mappingService == null || current.getPlatform() == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
VariableEvaluator eval;
|
VariableEvaluator eval;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue