Author: jmorlan
Date: Sun Jul 20 17:48:06 2008
New Revision: 34618
URL:
http://svn.reactos.org/svn/reactos?rev=34618&view=rev
Log:
KiMoveApcState: Fix reversal of RepairList arguments. (Bug 1720)
Modified:
trunk/reactos/ntoskrnl/ke/apc.c
Modified: trunk/reactos/ntoskrnl/ke/apc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/apc.c?rev=3461…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] Sun Jul 20 17:48:06 2008
@@ -519,8 +519,8 @@
RtlCopyMemory(NewState, OldState, KAPC_STATE_ACTUAL_LENGTH);
/* Repair Lists */
- RepairList(NewState->ApcListHead, OldState->ApcListHead, KernelMode);
- RepairList(NewState->ApcListHead, OldState->ApcListHead, UserMode);
+ RepairList(OldState->ApcListHead, NewState->ApcListHead, KernelMode);
+ RepairList(OldState->ApcListHead, NewState->ApcListHead, UserMode);
}
/* PUBLIC FUNCTIONS **********************************************************/