msvcrt: Don't call invalid parameter handler in str{n,i}cmp functions.
This commit is contained in:
parent
023abdacdb
commit
6382bc5219
|
@ -1567,7 +1567,7 @@ int __cdecl MSVCRT__strnicmp_l(const char *s1, const char *s2,
|
|||
MSVCRT_pthreadlocinfo locinfo;
|
||||
char c1, c2;
|
||||
|
||||
if(!MSVCRT_CHECK_PMT(s1!=NULL && s2!=NULL))
|
||||
if(s1==NULL || s2==NULL)
|
||||
return MSVCRT__NLSCMPERROR;
|
||||
|
||||
if(!count)
|
||||
|
|
Loading…
Reference in New Issue