diff --git a/servers/slapd/config.c b/servers/slapd/config.c index e778c4ae63..6c12ae0aac 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -48,7 +48,7 @@ read_config( const char *fname ) FILE *fp; char *line, *savefname, *saveline; int cargc, savelineno; - char *cargv[MAXARGS]; + char *cargv[MAXARGS+1]; int lineno, i; #ifdef HAVE_TLS int rc;