rpcrt4: Handle non-conformant bogus structures.
This commit is contained in:
parent
f79c4d6fa2
commit
e0a60312d1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue