rpcrt4: Don't set BufferStart and BufferEnd in NdrStubCall2.
The operations peformed by the stubless code should roughly match what operations MIDL outputs in code, and it doesn't do this.
This commit is contained in:
parent
d6748c9db7
commit
426418f725
|
@ -1464,9 +1464,7 @@ LONG WINAPI NdrStubCall2(
|
|||
Status = I_RpcGetBuffer(pRpcMsg);
|
||||
if (Status)
|
||||
RpcRaiseException(Status);
|
||||
stubMsg.BufferStart = pRpcMsg->Buffer;
|
||||
stubMsg.BufferEnd = stubMsg.BufferStart + stubMsg.BufferLength;
|
||||
stubMsg.Buffer = stubMsg.BufferStart;
|
||||
stubMsg.Buffer = pRpcMsg->Buffer;
|
||||
}
|
||||
break;
|
||||
case STUBLESS_UNMARSHAL:
|
||||
|
|
Loading…
Reference in New Issue