Fix bug 474. Patch by tinus

svn path=/trunk/; revision=13266
This commit is contained in:
Alex Ionescu 2005-01-25 05:00:57 +00:00
parent ce861ca908
commit dcee180336

View file

@ -461,7 +461,7 @@ KeConnectInterrupt(PKINTERRUPT InterruptObject)
Vector = InterruptObject->Vector;
if (Vector < IRQ_BASE && Vector >= IRQ_BASE + NR_IRQS)
if (Vector < IRQ_BASE || Vector >= IRQ_BASE + NR_IRQS)
return FALSE;
Vector -= IRQ_BASE;