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:
Thomas Bluemel 2005-05-11 20:04:48 +00:00
parent 30ec640bd2
commit 23e79dcdb3

View file

@ -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,