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

(ITS#3901) slapd segmentation fault if directive starts with whitespace



Full_Name: Hadmut Danisch
Version: 2.2.26
OS: Linux
URL: 
Submission from: (NULL) (62.154.251.2)


Hi,

I just tried to indent the database direktives in /etc/ldap/slapd.conf, like

database        bdb
   suffix          "dc=test,dc=de"
...


then slapd crashes with a segmentation fault (any number of whitespace
characters
in front of the suffix command causes slapd to crash).

Maybe indenting is a violation of the syntax, but even if the syntax is
violated, 
slapd should issue an error message and terminate cleanly, and not just crash
with 
a segmentation violation.

regards
Hadmut