diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-02-19 09:41:24 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-02-19 09:41:24 -0500 |
commit | 94a7fbae025b4a42f781e22a1e0d06a98f214888 (patch) | |
tree | cbb213614b1525e676b671ae4dd94532fdb8bed4 /src | |
parent | bae1ebce2fb9db73973112dfa64fb44bb55e1457 (diff) |
Fix possible overflow
Diffstat (limited to 'src')
-rw-r--r-- | src/common/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |