Author: gschneider
Date: Thu Oct 15 21:28:11 2009
New Revision: 43494
URL:
http://svn.reactos.org/svn/reactos?rev=43494&view=rev
Log:
Amendment to r43487: check last character as well
Modified:
trunk/reactos/dll/win32/kernel32/mem/isbad.c
Modified: trunk/reactos/dll/win32/kernel32/mem/isbad.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/mem/isb…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/mem/isbad.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/mem/isbad.c [iso-8859-1] Thu Oct 15 21:28:11 2009
@@ -181,7 +181,7 @@
{
Char = *Current;
Current++;
- } while (Char && (Current != Last));
+ } while (Char && (Current != Last + 1));
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
@@ -224,7 +224,7 @@
{
Char = *Current;
Current++;
- } while (Char && (Current != Last));
+ } while (Char && (Current != Last + 1));
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{