mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 06:33:18 +00:00
Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
This commit is contained in:
parent
ce7bb91b16
commit
bb99554339
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,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 == '$')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue