Author: cgutman
Date: Thu Sep 22 21:23:09 2011
New Revision: 53806
URL: http://svn.reactos.org/svn/reactos?rev=53806&view=rev
Log:
[HAL]
- Revert part of r53788 (MAXIMUM_IDTVECTOR is a valid vector number)
- The buffer overrun in the IDT code was already fixed by r53420
Modified:
trunk/reactos/hal/halx86/generic/usage.c
Modified: trunk/reactos/hal/halx86/generic/usage.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/usage.c…
==============================================================================
--- trunk/reactos/hal/halx86/generic/usage.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/usage.c [iso-8859-1] Thu Sep 22 21:23:09 2011
@@ -323,7 +323,7 @@
while (TRUE)
{
/* Check for valid vector number */
- if (i < MAXIMUM_IDTVECTOR)
+ if (i <= MAXIMUM_IDTVECTOR)
{
/* Check if this entry should be parsed */
if ((HalpIDTUsageFlags[i].Flags & FlagMatch))