wbemprox: Handle NULL operands in eval_strcmp.

This commit is contained in:
Hans Leidekker 2012-10-10 12:00:58 +02:00 committed by Alexandre Julliard
parent e63b9f4ec0
commit 68f0e174d6
1 changed files with 5 additions and 0 deletions
dlls/wbemprox

View File

@ -72,6 +72,11 @@ static BOOL eval_like( const WCHAR *lstr, const WCHAR *rstr )
static HRESULT eval_strcmp( UINT op, const WCHAR *lstr, const WCHAR *rstr, LONGLONG *val )
{
if (!lstr || !rstr)
{
*val = 0;
return S_OK;
}
switch (op)
{
case OP_EQ: