rpcrt4: NdrStubGetBuffer shouldn't set BufferStart and BufferEnd.

These are supposed to point to the original buffer when the types were 
unmarshalled.
This commit is contained in:
Rob Shearman 2007-12-13 16:11:37 +00:00 committed by Alexandre Julliard
parent ded4b86625
commit 9d8ebc1a24
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}