Merge remote-tracking branch 'origin/Ghidra_9.1'

This commit is contained in:
ghidra1 2019-10-23 11:39:56 -04:00
commit db69deb05a
5 changed files with 372 additions and 73 deletions

View file

@ -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);
}