mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
src/Cedar/Interop_OpenVPN.c: remove logically dead code
found by coverity
This commit is contained in:
parent
981e8d0e77
commit
b8af87adc1
@ -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--;
|
||||||
|
Loading…
Reference in New Issue
Block a user