mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 07:44:57 +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));
|
||||
|
||||
// OpCode + KeyID
|
||||
if (size < 1)
|
||||
{
|
||||
goto LABEL_ERROR;
|
||||
}
|
||||
uc = *((UCHAR *)data);
|
||||
data++;
|
||||
size--;
|
||||
|
Reference in New Issue
Block a user