GP-5919: Backporting decompiler highSymbol NPE fix (Closes #8413)

This commit is contained in:
Ryan Kurtz 2025-08-07 06:41:13 -04:00
parent a638bb9a66
commit 3e550cf08f

View file

@ -1047,7 +1047,7 @@ public class DecompilerPanel extends JPanel implements FieldMouseListener, Field
} }
HighSymbol highSymbol = highVar.getSymbol(); HighSymbol highSymbol = highVar.getSymbol();
if (highSymbol.isParameter()) { if (highSymbol != null && highSymbol.isParameter()) {
// decomp param that is not in the listing; put on signature // decomp param that is not in the listing; put on signature
return new FunctionNameDecompilerLocation(program, entryPoint, cvt.getText(), info); return new FunctionNameDecompilerLocation(program, entryPoint, cvt.getText(), info);
} }