mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
protocol: fix uninitialized variable
Value of server_cert is undefined if `b = PackGetBuf(p, "Cert");` was failed.
This commit is contained in:
parent
22272ec838
commit
1416a693e7
@ -4621,7 +4621,7 @@ REDIRECTED:
|
|||||||
UINT use_port = 0;
|
UINT use_port = 0;
|
||||||
UINT current_port = c->ServerPort;
|
UINT current_port = c->ServerPort;
|
||||||
UCHAR ticket[SHA1_SIZE];
|
UCHAR ticket[SHA1_SIZE];
|
||||||
X *server_cert;
|
X *server_cert = NULL;
|
||||||
BUF *b;
|
BUF *b;
|
||||||
|
|
||||||
// Redirect mode
|
// Redirect mode
|
||||||
|
Loading…
Reference in New Issue
Block a user