mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
[CSRSRV]: Don't bail out incorrectly if we get a LPC_EXCEPTION. Also DPRINT1 when we get one.
svn path=/trunk/; revision=55716
This commit is contained in:
parent
bb061c1598
commit
860a4e8855
|
@ -1127,15 +1127,6 @@ ClientConnectionThread(IN PVOID Parameter)
|
|||
continue;
|
||||
}
|
||||
|
||||
if ((MessageType != LPC_ERROR_EVENT) &&
|
||||
(MessageType != LPC_REQUEST))
|
||||
{
|
||||
DPRINT1("CSR: received message %d\n", Request->Header.u2.s2.Type);
|
||||
Reply = NULL;
|
||||
ReplyPort = CsrApiPort;
|
||||
continue;
|
||||
}
|
||||
|
||||
DPRINT("CSR: Got CSR API: %x [Message Origin: %x]\n",
|
||||
Request->Type,
|
||||
Request->Header.ClientId.UniqueThread);
|
||||
|
@ -1164,6 +1155,9 @@ ClientConnectionThread(IN PVOID Parameter)
|
|||
if (MessageType == LPC_EXCEPTION)
|
||||
{
|
||||
/* Kill the process */
|
||||
DPRINT1("Exception in %lx.%lx. Killing...\n",
|
||||
Request->Header.ClientId.UniqueProcess,
|
||||
Request->Header.ClientId.UniqueThread);
|
||||
NtTerminateProcess(ProcessData->ProcessHandle, STATUS_ABANDONED);
|
||||
|
||||
/* Destroy it from CSR */
|
||||
|
|
Loading…
Reference in a new issue