mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-20 18:29:19 +03:00
src/Cedar/Client.c: Array compared against NULL is always false
found by coverity
This commit is contained in:
@ -8941,14 +8941,8 @@ bool CtSetPassword(CLIENT *c, RPC_CLIENT_PASSWORD *pass)
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (pass->Password == NULL)
|
|
||||||
{
|
|
||||||
str = "";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
str = pass->Password;
|
str = pass->Password;
|
||||||
}
|
|
||||||
|
|
||||||
if (StrCmp(str, "********") != 0)
|
if (StrCmp(str, "********") != 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user