bfd/
[deliverable/binutils-gdb.git] / gdb / i386-stub.c
index 1251567e9121d5ddb337a6f589a615165844f3cc..6b91296291f2d4bafe46f2168bc904c704a12d3c 100644 (file)
@@ -474,7 +474,7 @@ getpacket (void)
       count = 0;
 
       /* now, read until a # or end of buffer is found */
-      while (count < BUFMAX)
+      while (count < BUFMAX - 1)
        {
          ch = getDebugChar ();
          if (ch == '$')
This page took 0.024279 seconds and 4 git commands to generate.