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

Re: (ITS#5641) Segmentation fault - slaptest and slapd



----- hyc@symas.com wrote:

> hfranzke@tee.toshiba.de wrote:
> > Full_Name: Helmut Franzke
> > Version: 2.4.11 / 2.4.9
> > OS: Ubuntu server 8.04.1 / Centos 4.6
> > URL: ftp://ftp.openldap.org/incoming/
> > Submission from: (NULL) (192.109.150.105)
> >
> >
> > I could get slaptest/slapd to produce a segmentation fault by using
> the unique
> > overlay and a unique_uri with a base dn. This behaviour depends on
> the position
> > of the overlay/unique_uri in slapd.conf and doesn't appear if you
> don't use a
> > base dn regardless of the position. (I know an overlay should be
> defined after
> > the other configuration settings have been set. I encountered this
> bug when I
> > put it in the first part by mistake, see below)
> 
> We should of course fix the SEGV, but it is already documented that
> overlays 
> must be configured after their corresponding databases. As such, this
> is not a 
> high priority.

slapo-unique uses be_nsuffix without testing it, and it's obviously NULL until "suffix" is defined.  The fix is trivial, but I can't commit right now.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------