From e302cb5f749cd92dc3425ea8c5834680ae763324 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 12 Aug 2018 16:12:48 +0500 Subject: [PATCH] src/Cedar/IPsec_PPP.c: remove logically dead code found by coverity --- src/Cedar/IPsec_PPP.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Cedar/IPsec_PPP.c b/src/Cedar/IPsec_PPP.c index cec8736a..6721172a 100644 --- a/src/Cedar/IPsec_PPP.c +++ b/src/Cedar/IPsec_PPP.c @@ -2142,11 +2142,6 @@ PPP_PACKET *ParsePPPPacket(void *data, UINT size) buf = (UCHAR *)data; - // Address - if (size < 1) - { - goto LABEL_ERROR; - } if (buf[0] != 0xff) { goto LABEL_ERROR;