1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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

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