[PATCH] rpcrt4: Handle large arrays in EmbeddedComplexSize().
Zebediah Figura
z.figura12 at gmail.com
Fri Nov 16 21:58:43 CST 2018
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/rpcrt4/ndr_marshall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 82cc064c2c..38ead96afc 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -2765,6 +2765,9 @@ static ULONG EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg,
case FC_SMVARRAY:
case FC_CSTRING:
return *(const WORD*)&pFormat[2];
+ case FC_LGFARRAY:
+ case FC_LGVARRAY:
+ return *(const ULONG*)&pFormat[2];
case FC_USER_MARSHAL:
return *(const WORD*)&pFormat[4];
case FC_RANGE: {
--
2.14.1
More information about the wine-devel
mailing list