projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b0b7c
)
Initialize the length in the header in LpcSendTerminationPort.
author
Hartmut Birr
<osexpert@googlemail.com>
Thu, 8 Sep 2005 20:12:33 +0000
(20:12 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Thu, 8 Sep 2005 20:12:33 +0000
(20:12 +0000)
svn path=/trunk/; revision=17748
reactos/ntoskrnl/lpc/send.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/lpc/send.c
b/reactos/ntoskrnl/lpc/send.c
index
8d07b1e
..
8725e56
100644
(file)
--- 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);