[PATCH 1/7] ole32: Marshal the ORPCTHIS structure prefixed to the
client data when doing ORPC calls.
Robert Shearman
rob at codeweavers.com
Tue Dec 19 13:35:35 CST 2006
This is done by putting the ORPCTHIS data into the buffer when calling
IRpcChannelBuffer::GetBuffer on the client side and then storing the
amount we increased the buffer in a structure stored in the Handle
field. This is done to present the correct Buffer pointer to the proxy
so that it writes its data after the ORPCTHIS data.
Unmarshal the data on the server side (during RPC_ExecuteCall) and make
sure the data is consistent according to NDR rules. Also add several
checks on the unmarshaled data that are specified by the DCOM draft
specification.
---
dlls/ole32/rpc.c | 217
+++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 215 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c6d467f934bd959c7338b94a85a3eda22da36b67.diff
Type: text/x-patch
Size: 12127 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061219/5e2ddf9a/c6d467f934bd959c7338b94a85a3eda22da36b67-0001.bin
More information about the wine-patches
mailing list