mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
remove explicit bugcheck in NtOpenProcess when the caller supplies a thread CID of -1, looks like this was added for debug purpose and accidently committed.
svn path=/trunk/; revision=15230
This commit is contained in:
parent
30ec640bd2
commit
23e79dcdb3
1 changed files with 0 additions and 1 deletions
|
@ -874,7 +874,6 @@ NtOpenProcess(OUT PHANDLE ProcessHandle,
|
|||
if (ClientId->UniqueThread)
|
||||
{
|
||||
/* Get the Process */
|
||||
if (ClientId->UniqueThread == (HANDLE)-1) KEBUGCHECK(0);
|
||||
DPRINT("Opening by Thread ID: %x\n", ClientId->UniqueThread);
|
||||
Status = PsLookupProcessThreadByCid(ClientId,
|
||||
&Process,
|
||||
|
|
Loading…
Reference in a new issue