mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 00:39:06 +00:00
rpcrt4: Initialise pStubMsg->MemorySize to zero before calling
ComplexStructMemorySize from NdrComplexArrayUnmarshall.
This commit is contained in:
parent
539b48bff4
commit
35982d72f5
@ -2538,6 +2538,7 @@ unsigned char * WINAPI NdrComplexArrayUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
||||
pFormat = ReadVariance(pStubMsg, pFormat, pStubMsg->MaxCount);
|
||||
|
||||
Buffer = pStubMsg->Buffer;
|
||||
pStubMsg->MemorySize = 0;
|
||||
esize = ComplexStructMemorySize(pStubMsg, pFormat);
|
||||
pStubMsg->Buffer = Buffer;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user