Commit e0a60312 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rpcrt4: Handle non-conformant bogus structures.

parent f79c4d6f
...@@ -980,6 +980,11 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat) ...@@ -980,6 +980,11 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
case RPC_FC_STRUCT: case RPC_FC_STRUCT:
size = *(const WORD*)(pFormat + 2); size = *(const WORD*)(pFormat + 2);
break; 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: case RPC_FC_CARRAY:
size = *(const WORD*)(pFormat + 2); size = *(const WORD*)(pFormat + 2);
ComputeConformance(pStubMsg, NULL, pFormat + 4, 0); ComputeConformance(pStubMsg, NULL, pFormat + 4, 0);
......
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