1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

fix "Function call argument is an uninitialized value" found by clang static analyzer

This commit is contained in:
Ilya Shipitsin 2016-11-28 19:28:41 +05:00
parent 8d59c33b92
commit 39cf3a77cc

View File

@ -2654,7 +2654,7 @@ void RUDPBulkSend(RUDP_STACK *r, RUDP_SESSION *se, void *data, UINT data_size)
CRYPT *c;
UCHAR crypt_key_src[SHA1_SIZE * 2];
UCHAR crypt_key[SHA1_SIZE];
UINT icmp_type;
UINT icmp_type = 0;
UCHAR sign[SHA1_SIZE];
UCHAR iv[SHA1_SIZE + 1];
// Validate arguments