rpcrt4: Handle non-conformant bogus structures.

This commit is contained in:
Huw Davies 2011-04-27 09:53:38 +01:00 committed by Alexandre Julliard
parent f79c4d6fa2
commit e0a60312d1
1 changed files with 5 additions and 0 deletions

View File

@ -980,6 +980,11 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
case RPC_FC_STRUCT:
size = *(const WORD*)(pFormat + 2);
break;
case RPC_FC_BOGUS_STRUCT:
size = *(const WORD*)(pFormat + 2);
if(*(const WORD*)(pFormat + 4))
FIXME("Unhandled conformant description\n");
break;
case RPC_FC_CARRAY:
size = *(const WORD*)(pFormat + 2);
ComputeConformance(pStubMsg, NULL, pFormat + 4, 0);