mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix MAXARGS boundary condition problem: slapd crashed if number of tokens
parsed == MAXARGS (only applicable if you have really large objectclasses).
This commit is contained in:
parent
836d089e74
commit
46ca9103b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user