mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Fix KeInsertQueueApc error checking
svn path=/trunk/; revision=34619
This commit is contained in:
@@ -724,7 +724,7 @@ KeInsertQueueApc(IN PKAPC Apc,
|
||||
KiAcquireApcLock(Thread, &ApcLock);
|
||||
|
||||
/* Make sure we can Queue APCs and that this one isn't already inserted */
|
||||
if (!(Thread->ApcQueueable) && (Apc->Inserted))
|
||||
if (!(Thread->ApcQueueable) || (Apc->Inserted))
|
||||
{
|
||||
/* Fail */
|
||||
State = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user