[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#8631) OpenLDAP segfault on startup
Full_Name: Ondrej Kuznik
Version: master/re24
OS: Linux
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170410-ITS-8631-Initialize-sal.patch
Submission from: (NULL) (2a02:c7f:2247:ec00:a3e:8eff:fe52:dac5)
When playing around with ldapi, a typo uncovered a bug in the startup routines:
if the hostname cannot be resolved, an unitialised pointer would be referenced.
Try running:
slapd -h ldap://does.not.exist -d -1 -f /dev/null
Attached patch fixes this.