Robert Shearman : rpcrt4: Initialise pStubMsg->
MemorySize to zero before calling
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 12 07:09:33 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 35982d72f526a7af90d85889980939de4bc7e239
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=35982d72f526a7af90d85889980939de4bc7e239
Author: Robert Shearman <rob at codeweavers.com>
Date: Sat Jun 10 12:33:26 2006 +0100
rpcrt4: Initialise pStubMsg->MemorySize to zero before calling
ComplexStructMemorySize from NdrComplexArrayUnmarshall.
---
dlls/rpcrt4/ndr_marshall.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 2b6e096..92c2f7a 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -2538,6 +2538,7 @@ unsigned char * WINAPI NdrComplexArrayUn
pFormat = ReadVariance(pStubMsg, pFormat, pStubMsg->MaxCount);
Buffer = pStubMsg->Buffer;
+ pStubMsg->MemorySize = 0;
esize = ComplexStructMemorySize(pStubMsg, pFormat);
pStubMsg->Buffer = Buffer;
More information about the wine-cvs
mailing list