mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-27 14:41:50 +00:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
0795a6e808
@ -612,7 +612,7 @@ public class PeLoader extends AbstractPeDebugLoader {
|
||||
}
|
||||
|
||||
// Header block
|
||||
int virtualSize = getVirtualSize(pe, sections, space);
|
||||
int virtualSize = (int) Math.min(getVirtualSize(pe, sections, space), fileBytes.getSize());
|
||||
long addr = optionalHeader.getImageBase();
|
||||
Address address = space.getAddress(addr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user