quartz: Handle NULL return from strchr() (Coverity).
This commit is contained in:
parent
14efad5d66
commit
63823061ed
|
@ -179,8 +179,8 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
|
||||||
|
|
||||||
if (!(wszPatternString = strchrW(wszPatternString, ',')))
|
if (!(wszPatternString = strchrW(wszPatternString, ',')))
|
||||||
hr = E_INVALIDARG;
|
hr = E_INVALIDARG;
|
||||||
|
else
|
||||||
wszPatternString++; /* skip ',' */
|
wszPatternString++; /* skip ',' */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hr == S_OK)
|
if (hr == S_OK)
|
||||||
|
|
Loading…
Reference in New Issue