[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8631) OpenLDAP segfault on startup
okuznik@symas.com wrote:
> 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.
>
>
Thanks, applied to git master
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/