msvcrt: Don't call invalid parameter handler in str{n,i}cmp functions.

oldstable
Piotr Caban 2013-01-28 11:40:36 +01:00 committed by Alexandre Julliard
parent 023abdacdb
commit 6382bc5219
1 changed files with 1 additions and 1 deletions

View File

@ -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)