mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-20 02:09:25 +03:00
src/Cedar/Interop_OpenVPN.c: remove logically dead code
found by coverity
This commit is contained in:
@ -1623,11 +1623,6 @@ OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size)
|
|||||||
|
|
||||||
ret = ZeroMalloc(sizeof(OPENVPN_PACKET));
|
ret = ZeroMalloc(sizeof(OPENVPN_PACKET));
|
||||||
|
|
||||||
// OpCode + KeyID
|
|
||||||
if (size < 1)
|
|
||||||
{
|
|
||||||
goto LABEL_ERROR;
|
|
||||||
}
|
|
||||||
uc = *((UCHAR *)data);
|
uc = *((UCHAR *)data);
|
||||||
data++;
|
data++;
|
||||||
size--;
|
size--;
|
||||||
|
Reference in New Issue
Block a user