rpcrt4: Fix the memory pointer passed into the conformant array marshaller in NdrComplexStructMarshall.
It needs to be the end of the memory used by the constant part of the structure, which is returned by CompkexStructMarshall.
This commit is contained in:
parent
7f741f0414
commit
8af1dba5a9
|
@ -2858,7 +2858,7 @@ unsigned char * WINAPI NdrComplexStructMarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
||||||
|
|
||||||
pStubMsg->Memory = pMemory;
|
pStubMsg->Memory = pMemory;
|
||||||
|
|
||||||
ComplexMarshall(pStubMsg, pMemory, pFormat, pointer_desc);
|
pMemory = ComplexMarshall(pStubMsg, pMemory, pFormat, pointer_desc);
|
||||||
|
|
||||||
if (conf_array)
|
if (conf_array)
|
||||||
NdrConformantArrayMarshall(pStubMsg, pMemory, conf_array);
|
NdrConformantArrayMarshall(pStubMsg, pMemory, conf_array);
|
||||||
|
|
Loading…
Reference in New Issue