Issue 8743 - slaptest segfault with invalid back-meta configuration
Summary: slaptest segfault with invalid back-meta configuration
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.45
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-27 18:06 UTC by Quanah Gibson-Mount
Modified: 2019-07-24 19:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Quanah Gibson-Mount 2017-09-27 18:06:35 UTC
Full_Name: Quanah Gibson-Mount
Version: 2.4.45
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.239)


When converting a slapd.conf file to cn=config, where the back-meta backend has
an invalid configuration for the "filter" directive, slaptest will segfault.  It
would be better to detect an error and exit accordingly.

This is trivial to reproduce by using the following directive:

filter "(objectClass=*)"

as per slapd-meta(5), the "filter" directive takes a regex(5) rather than an
LDAP filter.  Still, it should not cause a segfault. ;)
Comment 1 Quanah Gibson-Mount 2019-05-13 14:47:26 UTC
changed notes
changed state Open to Release
moved from Incoming to Software Bugs
Comment 2 OpenLDAP project 2019-07-24 19:00:50 UTC
Fixed in master
Fixed in RE24 (2.4.48)
Comment 3 Quanah Gibson-Mount 2019-07-24 19:00:50 UTC
changed notes
changed state Release to Closed