mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02: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:
parent
59c55fdb6b
commit
f29fb24ee8
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ public class OptionalHeaderImpl implements OptionalHeader {
|
|||
throw re;
|
||||
}
|
||||
}
|
||||
if (ndata++ == numberOfRvaAndSizes) {
|
||||
if (++ndata == numberOfRvaAndSizes) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue