remove explicit bugcheck in NtOpenProcess when the caller supplies a thread CID of...
authorThomas Bluemel <thomas@reactsoft.com>
Wed, 11 May 2005 20:04:48 +0000 (20:04 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Wed, 11 May 2005 20:04:48 +0000 (20:04 +0000)
svn path=/trunk/; revision=15230

reactos/ntoskrnl/ps/process.c

index 7a68afe..e01af16 100644 (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,