Skip to content

Ghidra is a software reverse engineering (SRE) framework

bugfix for crashes in ActionConstantPtr

caheckmanb184abc18887
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc
index 8745d36852..58fa7b7087 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc
@@ -371,7 +371,7 @@ void Funcdata::spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const
opInsertBefore(zextOp,op);
}
else
- opSetOpcode(extraOp,CPUI_INT_ZEXT);
+ opSetOpcode(zextOp,CPUI_INT_ZEXT);
opSetInput(zextOp,outvn,0);
outvn = zextOp->getOut();
}