From 4f7a1feeda6111c0917f54e57500bf100c5dca61 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 7 Feb 2009 23:26:05 +0100 Subject: [PATCH] Fix an off by one error with zipstats processing from ircd-ratbox (androsyn) --- src/sslproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sslproc.c b/src/sslproc.c index 56acce8e8..e525af81d 100644 --- a/src/sslproc.c +++ b/src/sslproc.c @@ -336,7 +336,7 @@ ssl_process_zipstats(ssl_ctl_t * ctl, ssl_ctl_buf_t * ctl_buf) struct Client *server; struct ZipStats *zips; int parc; - char *parv[6]; + char *parv[7]; parc = rb_string_to_array(ctl_buf->buf, parv, 6); server = find_server(NULL, parv[1]); if(server == NULL || server->localClient == NULL || !IsCapable(server, CAP_ZIP))