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

Re: (ITS#7012) Getting a core dump when TLSCertificateFile does not have an argument



> Full_Name: Ashish Gawarikar
> Version: 2.4.23
> OS: Redhat 5.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (66.253.98.197)
>
>
> In my slapd.conf file:
> ...
> TLSCertificateFile
> TLSCertificateKeyFile
> ...
>
> If I have the above, I get a core dump, with the error:
> slapd: ch_malloc.c:123: ch_strdup: Assertion `0' failed.
>
>
> Let me know if you need the core file.

No, thanks.  The problem is that these specific statements do not
prescribe a fixed number of arguments.  Moreover, the function that uses
the value resets the field when passed a NULL argument.  If this behavior
needs to be preserved, I have the right fix handy.  Otherwise it might
need more work.

p.