rpcrt4: Handle large arrays in EmbeddedComplexSize().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-11-16 21:58:43 -06:00 committed by Alexandre Julliard
parent 9badb7807f
commit c94314085c
1 changed files with 3 additions and 0 deletions

View File

@ -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: {