mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-0: Fixed DBTraceCodeUnitTest
This commit is contained in:
parent
9f54b92325
commit
c18430e491
1 changed files with 1 additions and 1 deletions
|
@ -745,8 +745,8 @@ public class DBTraceMemorySpace implements Unfinished, TraceMemorySpace, DBTrace
|
|||
AddressRange rng = ent.getKey();
|
||||
int offset = (int) rng.getMinAddress().subtract(toRead.getMinAddress());
|
||||
int length = (int) rng.getLength();
|
||||
buf.position(pos + offset);
|
||||
buf.limit(pos + offset + length);
|
||||
buf.position(pos + offset);
|
||||
int read = getBytes(ent.getValue(), rng.getMinAddress(), buf);
|
||||
if (read < length) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue