From 3608f31d3989b9143847157c221064bfe66e922b Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 22 Oct 2016 22:42:22 +0100 Subject: [PATCH] authproc: don't allow authd to write too many parameters to parv array --- ircd/authproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/authproc.c b/ircd/authproc.c index 00fec3e0..355edafd 100644 --- a/ircd/authproc.c +++ b/ircd/authproc.c @@ -281,7 +281,7 @@ parse_authd_reply(rb_helper * helper) { struct authd_cb *cmd; - parc = rb_string_to_array(buf, parv, MAXPARA+1); + parc = rb_string_to_array(buf, parv, MAXPARA); cmd = &authd_cmd_tab[(unsigned char)*parv[0]]; if(cmd->fn != NULL) {