mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
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
Block a user