Commit e8567110 authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4: Also check base types for null ref pointers.

parent b0f85860
......@@ -315,7 +315,10 @@ static void client_do_args(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat,
&pParam->type_format_char;
if (pParam->param_attributes.IsSimpleRef)
{
pArg = *(unsigned char **)pArg;
if (!pArg) RpcRaiseException(RPC_X_NULL_REF_POINTER);
}
TRACE("\tbase type: 0x%02x\n", *pTypeFormat);
......
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