rpcrt4: Don't use BufferEnd in RpcStream_Write.
Robert Shearman
rob at codeweavers.com
Wed Dec 19 08:53:40 CST 2007
It is usually used during marshalling, where pStubMsg->BufferStart and
pStubMsg->BufferEnd won't be valid. Replace it with a check using
RpcMsg->Buffer and pStubMsg->BufferLength.
---
dlls/rpcrt4/ndr_ole.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 19600ff758c3da4cd125566b6068103890bedb62.diff
Type: text/x-patch
Size: 1124 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071219/f78994f6/attachment.bin
More information about the wine-patches
mailing list