Commit 79a6626b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

MsiEvaluateCondition returns an error when passed NULL as a

condition.
parent d6ecf58e
......@@ -731,7 +731,7 @@ MSICONDITION MSI_EvaluateConditionW( MSIPACKAGE *package, LPCWSTR szCondition )
TRACE("Evaluating %s\n",debugstr_w(szCondition));
if( !COND_parse( &cond ) )
if( szCondition && !COND_parse( &cond ) )
r = cond.result;
else
r = MSICONDITION_ERROR;
......
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