Commit 9d8ebc1a authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: NdrStubGetBuffer shouldn't set BufferStart and BufferEnd.

These are supposed to point to the original buffer when the types were unmarshalled.
parent ded4b866
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment