From 1a4058095dfd58dac90114552f03a8f4406bd09c 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 56acce8..e525af8 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))