GP-2672: Fix guest-platform disassembly of scratch snapshots

This commit is contained in:
Dan 2022-11-09 16:12:36 -05:00
parent c301dd2c89
commit 6dfc91c430

View file

@ -381,7 +381,7 @@ public class DBTraceGuestPlatformMappedMemory implements Memory {
int savedLimit = buffer.limit();
try {
buffer.limit(buffer.position() + lenToRead);
hostSpace.getBytes(snap, hostCur, buffer);
hostSpace.getViewBytes(snap, hostCur, buffer);
}
finally {
buffer.limit(savedLimit);