Fix possible overflow

This commit is contained in:
Patrick Griffis 2016-02-19 09:41:24 -05:00
parent bae1ebce2f
commit 94a7fbae02

View File

@ -484,7 +484,7 @@ ssl_cb_verify (int ok, X509_STORE_CTX * ctx)
static int
ssl_do_connect (server * serv)
{
char buf[128];
char buf[256]; // ERR_error_string() MUST have this size
g_sess = serv->server_session;