GP-1677 Fix bug in PDB item iteration bounds.

This commit is contained in:
ghizard 2022-01-13 13:59:54 -05:00
parent 0e9792ac45
commit 402a44ca7b

View file

@ -739,7 +739,8 @@ public class PdbApplicator {
int num = ipi.getTypeIndexMaxExclusive() - ipi.getTypeIndexMin();
monitor.initialize(num);
setMonitorMessage("PDB: Processing " + num + " item type components...");
for (int indexNumber = ipi.getTypeIndexMin(); indexNumber < num; indexNumber++) {
for (int indexNumber =
ipi.getTypeIndexMin(); indexNumber < ipi.getTypeIndexMaxExclusive(); indexNumber++) {
monitor.checkCanceled();
MsTypeApplier applier = getTypeApplier(RecordNumber.itemRecordNumber(indexNumber));
applier.apply();