mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +00:00
[CSRSRV]
Be sure to REALLY compare the Client ID (both Process and Thread handles). svn path=/branches/ros-csrss/; revision=58074
This commit is contained in:
parent
c61063134c
commit
fc76ef76f0
1 changed files with 3 additions and 2 deletions
|
@ -205,8 +205,9 @@ CsrLocateThreadByClientId(OUT PCSR_PROCESS *Process OPTIONAL,
|
||||||
NextEntry = NextEntry->Flink;
|
NextEntry = NextEntry->Flink;
|
||||||
|
|
||||||
/* Compare the CID */
|
/* Compare the CID */
|
||||||
// FIXME: if (*(PULONGLONG)&FoundThread->ClientId == *(PULONGLONG)ClientId)
|
// if (*(PULONGLONG)&FoundThread->ClientId == *(PULONGLONG)ClientId)
|
||||||
if (FoundThread->ClientId.UniqueThread == ClientId->UniqueThread)
|
if ( FoundThread->ClientId.UniqueProcess == ClientId->UniqueProcess &&
|
||||||
|
FoundThread->ClientId.UniqueThread == ClientId->UniqueThread )
|
||||||
{
|
{
|
||||||
/* Match found, return the process */
|
/* Match found, return the process */
|
||||||
*Process = FoundThread->Process;
|
*Process = FoundThread->Process;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue