From dcee180336e57742487a1f52383e8289235c822a Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Tue, 25 Jan 2005 05:00:57 +0000 Subject: [PATCH] Fix bug 474. Patch by tinus svn path=/trunk/; revision=13266 --- reactos/ntoskrnl/ke/i386/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ke/i386/irq.c b/reactos/ntoskrnl/ke/i386/irq.c index 9f110201348..a52e83b60d0 100644 --- a/reactos/ntoskrnl/ke/i386/irq.c +++ b/reactos/ntoskrnl/ke/i386/irq.c @@ -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;