From 3e550cf08f8dca6786233971374f44d30ec7cd06 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Thu, 7 Aug 2025 06:41:13 -0400 Subject: [PATCH] GP-5919: Backporting decompiler highSymbol NPE fix (Closes #8413) --- .../java/ghidra/app/decompiler/component/DecompilerPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9f8101bc2a..0b470332fa 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 @@ -1047,7 +1047,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); }