You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The reply may contain fewer addressable memory units than requested if the server was reading from a trace frame memory and was able to read only part of the region of memory.
176
-
if (pos >= memory.length) {
177
-
System.out.println("Out of bounds for length " + memory.length);
180
+
if (pos >= memory.length || pos < 0) {
181
+
System.out.println("Pos " + pos + " out of bounds for length " + memory.length);
178
182
sendPacket(out, "E01");
179
183
continue;
180
184
}
@@ -214,7 +218,8 @@ else if (pkt.startsWith("qXfer:libraries:read")) {
0 commit comments