mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
This commit is contained in:
@@ -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 == '$')
|
||||
|
||||
Reference in New Issue
Block a user