Commit c9431408 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

rpcrt4: Handle large arrays in EmbeddedComplexSize().

parent 9badb780
...@@ -2765,6 +2765,9 @@ static ULONG EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg, ...@@ -2765,6 +2765,9 @@ static ULONG EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg,
case FC_SMVARRAY: case FC_SMVARRAY:
case FC_CSTRING: case FC_CSTRING:
return *(const WORD*)&pFormat[2]; return *(const WORD*)&pFormat[2];
case FC_LGFARRAY:
case FC_LGVARRAY:
return *(const ULONG*)&pFormat[2];
case FC_USER_MARSHAL: case FC_USER_MARSHAL:
return *(const WORD*)&pFormat[4]; return *(const WORD*)&pFormat[4];
case FC_RANGE: { case FC_RANGE: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment