mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTOS]: CORE-6204 #resolve #time 10m #comment Do not touch NextEntry after removing it, instead restart the scan at the head of the list (checked against w2k3sp1).
svn path=/trunk/; revision=57474
This commit is contained in:
@@ -470,9 +470,6 @@ KeRundownThread(VOID)
|
||||
0);
|
||||
}
|
||||
|
||||
/* Move on, but save NextEntry before we remove */
|
||||
NextEntry = NextEntry->Flink;
|
||||
|
||||
/* Now we can remove it */
|
||||
RemoveEntryList(&Mutant->MutantListEntry);
|
||||
|
||||
@@ -487,6 +484,9 @@ KeRundownThread(VOID)
|
||||
/* Wake the Mutant */
|
||||
KiWaitTest(&Mutant->Header, MUTANT_INCREMENT);
|
||||
}
|
||||
|
||||
/* Move on */
|
||||
NextEntry = Thread->MutantListHead.Flink;
|
||||
}
|
||||
|
||||
/* Release the Lock */
|
||||
|
||||
Reference in New Issue
Block a user