From 1df53c95258a205ce97372e028dab2347e86fcff Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Thu, 8 Sep 2005 20:12:33 +0000 Subject: [PATCH] Initialize the length in the header in LpcSendTerminationPort. svn path=/trunk/; revision=17748 --- reactos/ntoskrnl/lpc/send.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/lpc/send.c b/reactos/ntoskrnl/lpc/send.c index 8d07b1e70b4..8725e56d544 100644 --- a/reactos/ntoskrnl/lpc/send.c +++ b/reactos/ntoskrnl/lpc/send.c @@ -38,6 +38,8 @@ LpcSendTerminationPort (IN PEPORT Port, #ifdef __USE_NT_LPC__ Msg.h.u2.s2.Type = LPC_CLIENT_DIED; #endif + Msg.h.u1.s1.TotalLength = sizeof(Msg); + Msg.h.u1.s1.DataLength = sizeof(Msg) - sizeof(PORT_MESSAGE); Msg.CreateTime = CreateTime; Status = LpcRequestPort (Port, &Msg.h); return(Status);