mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 00:26:55 +08:00
GP-1 corrected potential NPE for DB index-based iterations
This commit is contained in:
@@ -523,7 +523,7 @@ public class FieldIndexTable extends IndexTable {
|
|||||||
DBRecord rec = primaryTable.getRecord(f.getPrimaryKey());
|
DBRecord rec = primaryTable.getRecord(f.getPrimaryKey());
|
||||||
val = rec.getField(indexColumn);
|
val = rec.getField(indexColumn);
|
||||||
}
|
}
|
||||||
if (val.compareTo(min.getNonTruncatedIndexField()) > 0) {
|
if (val.compareTo(max.getNonTruncatedIndexField()) > 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user