From 2be6128e23a3e891a6396eb8ca7efcbdeebfe191 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 12 Aug 2018 15:00:17 +0500 Subject: [PATCH] src/Cedar/IPsec_PPP.c: Array compared against NULL is always false found by coverity --- src/Cedar/IPsec_PPP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/IPsec_PPP.c b/src/Cedar/IPsec_PPP.c index 6c5a4e9e..a17ba489 100644 --- a/src/Cedar/IPsec_PPP.c +++ b/src/Cedar/IPsec_PPP.c @@ -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; }