mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-27 02:29:52 +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 current_port = c->ServerPort;
|
||||
UCHAR ticket[SHA1_SIZE];
|
||||
X *server_cert;
|
||||
X *server_cert = NULL;
|
||||
BUF *b;
|
||||
|
||||
// Redirect mode
|
||||
|
Loading…
Reference in New Issue
Block a user