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

(ITS#3490) glue overlay causes segfault

Full_Name: Kevin Spicer
Version: 2.3.0alpha
OS: Solaris 9
Submission from: (NULL) (

slapd segfaults when a bind fails due to an incorrect password if the glue
overlay is in use....

I can replicate this by running slapd and attempting to bind (using ldapsearch)
as a real user [not rootdn] with an incorrect password.

Output from gdb follows...

(gdb) run -u ldap -g ldap -h "ldap:// ldaps://" -d0
Starting program: /usr/share/src/openldap-2.3.0alpha/servers/slapd/slapd -u ldap
-g ldap -h "ldap:// ldaps://" -d0
[New LWP 1]
[New LWP 2]
[New LWP 3]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 3]
dnIsSuffix (dn=0x15228, suffix=0x12800004) at dn.c:1317
1317            int     d = dn->bv_len - suffix->bv_len;
(gdb) bt
#0  dnIsSuffix (dn=0x15228, suffix=0x12800004) at dn.c:1317
#1  0x000ce2cc in glue_back_select (be=0xfdbffad8, dn=0xfdbff6c8) at glue.c:75
#2  0x000ce56c in glue_op_func (op=0x1b6b30, rs=0xfdbff6c8) at glue.c:175