Issue 5684 - slapd crashes when adding entries do cn=config with a too large index
Summary: slapd crashes when adding entries do cn=config with a too large index
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 10:31 UTC by Ralf
Modified: 2014-08-01 21:04 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 Ralf 2008-09-04 10:31:34 UTC
Full_Name: Ralf Haferkamp
Version: HEAD, RE24
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (89.166.240.108)


slapd crashes when trying to add an indexed entry to cn=config with an index
larger than the number of sibling entries.
E.g. when you have to entries below cn=schema,cn=config (with index {0} an {1})
and try to add cn={3}myschema,cn=schema,... slapd dumps core.

I am currently testing a fix that just adjusts the index of the new entry to
match the number of sibilings. (Another option would be to error out).

Comment 1 Ralf 2008-09-04 10:33:00 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2008-09-05 19:05:30 UTC
changed notes
changed state Open to Release
Comment 3 ando@openldap.org 2008-10-15 15:55:34 UTC
changed notes
changed state Release to Closed
Comment 4 OpenLDAP project 2014-08-01 21:04:16 UTC
fixed in HEAD
fixed in RE24