mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
GT-3252: Fixing infinite loop in MemoryBlockDB.putBytes (fixes #1149).
This commit is contained in:
parent
eb97637333
commit
083b5f61cc
@ -477,7 +477,7 @@ public class MemoryBlockDB implements MemoryBlock {
|
||||
int totalCopied = 0;
|
||||
try {
|
||||
while (totalCopied < len) {
|
||||
SubMemoryBlock subBlock = getSubBlock(offset);
|
||||
SubMemoryBlock subBlock = getSubBlock(offset + totalCopied);
|
||||
totalCopied += subBlock.putBytes(offset + totalCopied, b, off + totalCopied,
|
||||
len - totalCopied);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user