Skip to content

Ghidra is a software reverse engineering (SRE) framework

fixed bug in CircleRange::minimalContainer

caheckman65e3ab768fec
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
index 2cdd1c18d7..e1a4b3ebb0 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/rangeutil.cc
@@ -489,7 +489,7 @@ bool CircleRange::minimalContainer(const CircleRange &op2,int4 maxStep)
}
else {
left = op2.left;
- right = bRight;
+ right = aRight;
}
break;
case 'b': // order (l op2.l r op2.r)