Rob Shearman : rpcrt4: NdrStubGetBuffer shouldn' t set BufferStart and BufferEnd.
Module: wine Branch: master Commit: 9d8ebc1a247201a3b6dc9801a2efeda47860b5e8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d8ebc1a247201a3b6dc9801a2... Author: Rob Shearman <rob(a)codeweavers.com> Date: Thu Dec 13 16:11:37 2007 +0000 rpcrt4: NdrStubGetBuffer shouldn't set BufferStart and BufferEnd. These are supposed to point to the original buffer when the types were unmarshalled. --- dlls/rpcrt4/cstub.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index b04c494..cd07c29 100644 --- a/dlls/rpcrt4/cstub.c +++ b/dlls/rpcrt4/cstub.c @@ -595,7 +595,5 @@ void WINAPI NdrStubGetBuffer(LPRPCSTUBBUFFER iface, return; } - pStubMsg->BufferStart = pStubMsg->RpcMsg->Buffer; - pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength; - pStubMsg->Buffer = pStubMsg->BufferStart; + pStubMsg->Buffer = pStubMsg->RpcMsg->Buffer; }
participants (1)
-
Alexandre Julliard