Commit 704f2868 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Fix crash dealing with anonymous unions.

parent 512c36ca
......@@ -574,7 +574,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
{
unsigned int align = 0;
/* FIXME: take alignment into account */
if (!strcmp(var->name, subexpr->u.sval))
if (var->name && !strcmp(var->name, subexpr->u.sval))
{
correlation_variable = var->type;
break;
......
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