[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Unimportant but neat bug in slapd (openldap-19981116)
Hi,
there is a minor bug in servers/slapd/config.c (fp_getline). If
you put a line into a config file wich is too long to fit the
read buffer, and the partial read stops within a word, the partial
line will be returned. Something like this:
database <1013 spaces> ldbm
I admit this is somewhat unlikely to happen.
Another note: I don't think the dynamically allocated line buffer
`line' will be freed after the config files have been read. Wasted
memory.
J.Pietschmann