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, ',')))
|
||||
hr = E_INVALIDARG;
|
||||
|
||||
wszPatternString++; /* skip ',' */
|
||||
else
|
||||
wszPatternString++; /* skip ',' */
|
||||
}
|
||||
|
||||
if (hr == S_OK)
|
||||
|
|
Loading…
Reference in New Issue