rpcrt4: Initialise pStubMsg->MemorySize to zero before calling ComplexStructMemorySize from NdrComplexArrayUnmarshall.
This commit is contained in:
parent
e3df112a39
commit
578df90d6d
|
@ -2573,6 +2573,7 @@ unsigned long WINAPI NdrComplexArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
SavedMemorySize = pStubMsg->MemorySize;
|
||||
|
||||
Buffer = pStubMsg->Buffer;
|
||||
pStubMsg->MemorySize = 0;
|
||||
esize = ComplexStructMemorySize(pStubMsg, pFormat);
|
||||
pStubMsg->Buffer = Buffer;
|
||||
|
||||
|
|
Loading…
Reference in New Issue