Fix possible overflow
This commit is contained in:
parent
bae1ebce2f
commit
94a7fbae02
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ ssl_cb_verify (int ok, X509_STORE_CTX * ctx)
|
||||||
static int
|
static int
|
||||||
ssl_do_connect (server * serv)
|
ssl_do_connect (server * serv)
|
||||||
{
|
{
|
||||||
char buf[128];
|
char buf[256]; // ERR_error_string() MUST have this size
|
||||||
|
|
||||||
g_sess = serv->server_session;
|
g_sess = serv->server_session;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue