mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +00:00
[CSRSS]: Fix yet another bug in the unused csrss code.
svn path=/trunk/; revision=46040
This commit is contained in:
parent
f316f00072
commit
9c91a4dc46
|
@ -157,7 +157,7 @@ CsrLocateThreadInProcess(IN PCSR_PROCESS CsrProcess OPTIONAL,
|
|||
NextEntry = ListHead->Flink;
|
||||
|
||||
/* Start the Loop */
|
||||
while (NextEntry != NextEntry)
|
||||
while (NextEntry != ListHead)
|
||||
{
|
||||
/* Get Thread Entry */
|
||||
FoundThread = CONTAINING_RECORD(NextEntry, CSR_THREAD, Link);
|
||||
|
|
Loading…
Reference in a new issue