[NTDLL]: Use NT-style calculation in CsrClientCallServer. In special cases, structure...
authorAlex Ionescu <aionescu@gmail.com>
Sat, 31 Aug 2013 02:19:36 +0000 (02:19 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 31 Aug 2013 02:19:36 +0000 (02:19 +0000)
commit084a679a6b3c03f74570eb49d19064f4627a0288
tree5f6a7b11841aa229ce23c56b9b8ddfde3a83667d
parent0b454973945540ee136f88b7d21e546ad0563615
[NTDLL]: Use NT-style calculation in CsrClientCallServer. In special cases, structures can be padded at the end, causing the size of the structure - the size of last field, not to be equal to the offset of the last field. Doing math the NT way will, in some cases (if the CSR union is not 8-byte aligned), cause the TotalLength to be 4 bytes bigger than really needed.
[CSRSRV]: Increase the padding to 39*4 bytes, instead of 35, to match Windows.

svn path=/trunk/; revision=59913
reactos/dll/ntdll/csr/connect.c
reactos/include/reactos/subsys/csr/csrmsg.h