Initialize the length in the header in LpcSendTerminationPort.
Modified: trunk/reactos/ntoskrnl/lpc/send.c
_____
Modified: trunk/reactos/ntoskrnl/lpc/send.c
--- trunk/reactos/ntoskrnl/lpc/send.c 2005-09-08 20:07:16 UTC (rev
17747)
+++ trunk/reactos/ntoskrnl/lpc/send.c 2005-09-08 20:12:33 UTC (rev
17748)
@@ -38,6 +38,8 @@
#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);
Show replies by date