mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-5558: fixed ndata post-increment instead of pre-increment causing
return case to be missed (Closes #7973, Closes #7974)
This commit is contained in:
committed by
Ryan Kurtz
parent
59c55fdb6b
commit
f29fb24ee8
@@ -394,7 +394,7 @@ public class OptionalHeaderImpl implements OptionalHeader {
|
||||
throw re;
|
||||
}
|
||||
}
|
||||
if (ndata++ == numberOfRvaAndSizes) {
|
||||
if (++ndata == numberOfRvaAndSizes) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user