rpcrt4: Fix NdrConformantStringUnmarshall to always increment the buffer during unmarshalling.

Robert Shearman rob at codeweavers.com
Thu Dec 20 03:51:47 CST 2007


safe_copy_from_buffer has the side-effect of incrementing the buffer and 
this still needs to be done when we point the memory into the buffer.

(Thanks to Maarten Lankhorst for finding the mistake and suggesting a fix.)
---
  dlls/rpcrt4/ndr_marshall.c |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b9114f3b28a7d0f12f47fa67cae388cc66179241.diff
Type: text/x-patch
Size: 555 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071220/0d7c4445/attachment.bin 


More information about the wine-patches mailing list