Robert Shearman : rpcrt4: Pass in the buffer value before incrementing to PointerMarshall in NdrPointerMarshall .

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 15 07:35:14 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 3e988bfc4ff196b98750e40deecd259d7fb990d8
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=3e988bfc4ff196b98750e40deecd259d7fb990d8

Author: Robert Shearman <rob at codeweavers.com>
Date:   Sat May 13 17:00:00 2006 +0100

rpcrt4: Pass in the buffer value before incrementing to PointerMarshall in NdrPointerMarshall.

---

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

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 43aceb9..a868173 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -1298,7 +1298,7 @@ unsigned char * WINAPI NdrPointerMarshal
   else
     Buffer = pStubMsg->Buffer;
 
-  PointerMarshall(pStubMsg, pStubMsg->Buffer, pMemory, pFormat);
+  PointerMarshall(pStubMsg, Buffer, pMemory, pFormat);
 
   STD_OVERFLOW_CHECK(pStubMsg);
 




More information about the wine-cvs mailing list