Author: dgorbachev
Date: Tue Oct 13 01:52:33 2009
New Revision: 43430
URL:
http://svn.reactos.org/svn/reactos?rev=43430&view=rev
Log:
Fix "array subscript is above array bounds" bug.
Modified:
trunk/reactos/base/shell/explorer/i386-stub-win32.c
Modified: trunk/reactos/base/shell/explorer/i386-stub-win32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/i386-s…
==============================================================================
--- trunk/reactos/base/shell/explorer/i386-stub-win32.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/i386-stub-win32.c [iso-8859-1] Tue Oct 13 01:52:33
2009
@@ -547,7 +547,7 @@
count = 0;
/* now, read until a # or end of buffer is found */
- while (count < BUFMAX)
+ while (count < BUFMAX - 1)
{
ch = getDebugChar ();
if (ch == '$')