Commit c10c4d69 authored by Randy Kunkee's avatar Randy Kunkee
Browse files

Fix MAXARGS boundary condition problem: slapd crashed if number of tokens

parsed == MAXARGS (only applicable if you have really large objectclasses).
parent e967e1a9
......@@ -7,6 +7,8 @@ Changes included in OpenLDAP 1.2.12 Engineering
Fixed Pth initialization bug
Fixed libldap/add mod_bvalues typo
Fixed ldappasswd crypt(3) crash (ITD#598)
Fixed MAXARGS boundary condition crash in fp_parse_line in
servers/slapd/config.c
Build Environment
Remove extra Digital UNIX symbol (ITS#590)
Ignore make clean rm failure
......
......@@ -39,7 +39,7 @@ read_config( char *fname, Backend **bep, FILE *pfp )
FILE *fp;
char *line, *savefname;
int cargc, savelineno;
char *cargv[MAXARGS];
char *cargv[MAXARGS+1];
int lineno, i;
Backend *be;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment