From dc6c640cd23540f5887b3662f1e9dbc8038b6c47 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 2 Jun 2006 20:42:44 +0100 Subject: [PATCH] rpcrt4: Fix the unmarshaling of pointers in conformant varying arrays, by passing the correct type format string to ReadConformance. --- dlls/rpcrt4/ndr_marshall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index c71401714c3..90c19c98d2f 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -2275,7 +2275,7 @@ unsigned char* WINAPI NdrConformantVaryingArrayUnmarshall( PMIDL_STUB_MESSAGE pS return NULL; } - pFormat = ReadConformance(pStubMsg, pFormat); + pFormat = ReadConformance(pStubMsg, pFormat+4); pFormat = ReadVariance(pStubMsg, pFormat); ALIGN_POINTER(pStubMsg->Buffer, alignment);