]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Fix an off by one error with zipstats processing
authorJilles Tjoelker <redacted>
Sat, 7 Feb 2009 22:26:05 +0000 (23:26 +0100)
committerJilles Tjoelker <redacted>
Sat, 7 Feb 2009 22:26:05 +0000 (23:26 +0100)
from ircd-ratbox (androsyn)

src/sslproc.c

index 56acce8e8ecb62766ca7158dbf9a432828055ca4..e525af81d9e8b64e6484c61a14bdac45e27823da 100644 (file)
@@ -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))