Ghidra is a software reverse engineering (SRE) framework
GP-1593 - fixed bug introduced by GP-1593
ghidragon043f57d04a89
diff --git a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/IndexMap.java b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/IndexMap.javaindex 16be6a791a..cc5e792d65 100644--- a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/IndexMap.java+++ b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/IndexMap.java@@ -175,7 +175,7 @@ public class IndexMap {* except for the last line of a block which may end part way in the line.*/int getLastActiveFactoryIndex(BigInteger index, FieldFactory[] factories) {- for (int i = factories.length - 1; i > 0; i--) {+ for (int i = factories.length - 1; i >= 0; i--) {if (factories[i].isActive(index)) {return i;}