rpcrt4: Pass in the buffer value before incrementing to PointerMarshall in NdrPointerMarshall.

This commit is contained in:
Robert Shearman 2006-05-13 17:00:00 +01:00 committed by Alexandre Julliard
parent 22bf15049c
commit 3e988bfc4f

View file

@ -1298,7 +1298,7 @@ unsigned char * WINAPI NdrPointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
else
Buffer = pStubMsg->Buffer;
PointerMarshall(pStubMsg, pStubMsg->Buffer, pMemory, pFormat);
PointerMarshall(pStubMsg, Buffer, pMemory, pFormat);
STD_OVERFLOW_CHECK(pStubMsg);