GP-1 corrected potential NPE for DB index-based iterations

This commit is contained in:
ghidra1 2022-10-25 12:22:05 -04:00
parent 3bab8e4284
commit f4c4b48a2e

View file

@ -523,7 +523,7 @@ public class FieldIndexTable extends IndexTable {
DBRecord rec = primaryTable.getRecord(f.getPrimaryKey());
val = rec.getField(indexColumn);
}
if (val.compareTo(min.getNonTruncatedIndexField()) > 0) {
if (val.compareTo(max.getNonTruncatedIndexField()) > 0) {
return true;
}
}