From 94a7fbae025b4a42f781e22a1e0d06a98f214888 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 19 Feb 2016 09:41:24 -0500 Subject: Fix possible overflow --- src/common/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/server.c b/src/common/server.c index 19e90969..709bfb22 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -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; -- cgit 1.4.1