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

(ITS#5000) slapd with invalid url causes crashes



Full_Name: Jean-Luc Wasmer
Version: 2.3.32
OS: NetBSD 4.0 Beta2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (70.50.240.203)



When slapd is started with an invalid url, it looks like it's trying to destroy
an uninitialized mutex:

Program received signal SIGABRT, Aborted.
0xbb87dfff in kill () from /usr/lib/libc.so.12
(gdb) backtrace
#0  0xbb87dfff in kill () from /usr/lib/libc.so.12
#1  0xbb94adb3 in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2  0xbb9491fe in pthread_mutex_destroy () from /usr/lib/libpthread.so.0
#3  0xbbbbd1eb in ldap_pvt_thread_mutex_destroy () from
/usr/pkg/lib/libldap_r-2.3.so.0
#4  0x0805a756 in ?? ()
#5  0x0819e4fc in __ps_strings ()
#6  0x00000002 in ?? ()
#7  0xbfbfe8e8 in ?? ()
#8  0x0805a713 in ?? ()
#9  0x00000286 in ?? ()
#10 0x00000001 in ?? ()
#11 0xbfbfe958 in ?? ()
#12 0x0804e2c1 in ?? ()
#13 0xbfa00000 in ?? ()
#14 0xbb92cdd0 in tzname () from /usr/lib/libc.so.12
#15 0x00000002 in ?? ()
#16 0x00000000 in ?? ()

Invalid argument that triggered the bug:
-h 'ldap://127.0.0.1 ldaps://<external ip>'
with no interfaces on the system configured with <external ip>