Rob Shearman : rpcrt4: NdrStubGetBuffer shouldn' t set BufferStart and BufferEnd.
Alexandre Julliard
julliard at winehq.org
Fri Dec 14 07:39:35 CST 2007
Module: wine
Branch: master
Commit: 9d8ebc1a247201a3b6dc9801a2efeda47860b5e8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d8ebc1a247201a3b6dc9801a2efeda47860b5e8
Author: Rob Shearman <rob at 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;
}
More information about the wine-cvs
mailing list