mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-04 15:55:41 +00:00
Fix possible overflow
This commit is contained in:
1 parent
bae1ebce2f
commit
94a7fbae02
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user