rpcrt4: Use the buffer passed in as an argument and don't increment the buffer in the MIDL_STUB_MESSAGE in the inner pointer marshalling/unmarshalling routines as these can be used for embedded pointers, which handle the allocating or finding of the buffer themselves. Do the incrementing in the outer NdrPointerMarshall/Unmarshall/BufferSize routines instead.

Robert Shearman rob at codeweavers.com
Wed May 10 07:13:45 CDT 2006


---

  dlls/rpcrt4/ndr_marshall.c |   55 
++++++++++++++++++++++++++++++++++++--------
  1 files changed, 45 insertions(+), 10 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 54b7004709d8f8978528cb77bd7d48fd331c20b7.diff
Type: text/x-patch
Size: 3876 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060510/cf03466c/54b7004709d8f8978528cb77bd7d48fd331c20b7.diff


More information about the wine-patches mailing list