Author: tfaber
Date: Tue Sep 1 17:52:09 2015
New Revision: 68901
URL:
http://svn.reactos.org/svn/reactos?rev=68901&view=rev
Log:
[NTOS:EX]
- Remove the timer's list entry instead of the list head in NtSetTimer and
NtCancelTimer. Fixes list entry corruption on VMware Hybrid builder
CORE-10081 #resolve
Modified:
trunk/reactos/ntoskrnl/ex/timer.c
Modified: trunk/reactos/ntoskrnl/ex/timer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/timer.c?rev=68…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/timer.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/timer.c [iso-8859-1] Tue Sep 1 17:52:09 2015
@@ -301,7 +301,7 @@
KeAcquireSpinLockAtDpcLevel(&TimerThread->ActiveTimerListLock);
/* Remove it */
- RemoveEntryList(&TimerThread->ActiveTimerListHead);
+ RemoveEntryList(&Timer->ActiveTimerListEntry);
Timer->ApcAssociated = FALSE;
/* Unlock the list */
@@ -659,7 +659,7 @@
KeAcquireSpinLockAtDpcLevel(&TimerThread->ActiveTimerListLock);
/* Remove it */
- RemoveEntryList(&TimerThread->ActiveTimerListHead);
+ RemoveEntryList(&Timer->ActiveTimerListEntry);
Timer->ApcAssociated = FALSE;
/* Unlock the list */