[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldif2ldbm problems (ITS#34)

Full_Name: Max Karpiak
Version: 1.1.2
OS: Digital Unix 4.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

ldif2ldbm consistantly dies for me trying to call execvp() in fork_child().
It appears that (in lidf2ldbm.c) the args[10] declaration on line 65 is too
as between lines 203 and 219 the code can set up to 11 arguments (i == 10). If
I increase the declaration on line 65 to args[11], the code works perfectly.
Perhaps this is what 'MAXARGS' is for? It doesn't seem to be used anywhere else
in the code, and is 100, which is plenty big for our purposes.