mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
src/Cedar/IPsec_PPP.c: Array compared against NULL is always false
found by coverity
This commit is contained in:
parent
b8d5a85b0e
commit
2be6128e23
@ -775,7 +775,7 @@ bool PPPParseUsername(CEDAR *cedar, char *src_username, ETHERIP_ID *dst)
|
||||
char src[MAX_SIZE];
|
||||
// Validate arguments
|
||||
Zero(dst, sizeof(ETHERIP_ID));
|
||||
if (cedar == NULL || src == NULL || dst == NULL)
|
||||
if (cedar == NULL || dst == NULL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user