mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5919: Backporting decompiler highSymbol NPE fix (Closes #8413)
This commit is contained in:
parent
a638bb9a66
commit
3e550cf08f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue