Skip to content

Ghidra is a software reverse engineering (SRE) framework

NPE fix

dragonmacher397fdb2fb137
diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java
index 7fd06ccdc2..039ad23c8e 100644
--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java
+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java
@@ -1073,7 +1073,7 @@ public class DecompilerPanel extends JPanel implements FieldMouseListener, Field
}
HighSymbol highSymbol = highVar.getSymbol();
- if (highSymbol.isParameter()) {
+ if (highSymbol != null && highSymbol.isParameter()) {
// decomp param that is not in the listing; put on signature
return new FunctionNameDecompilerLocation(program, entryPoint, cvt.getText(), info);
}