[Pkg-openldap-devel] Bug#640384: /usr/bin/ldapsearch: double free abort when using TLS_CIPHER_SUITE

Arthur de Jong adejong at debian.org
Sun Sep 4 17:40:33 UTC 2011


Subject: /usr/bin/ldapsearch: abort double free when using TLS_CIPHER_SUITE
Package: ldap-utils
Version: 2.4.25-3
File: /usr/bin/ldapsearch
Severity: important

ldapsearch crashes with a double free error when using the
TLS_CIPHER_SUITE option in /etc/ldap/ldap.conf. This could be related to
#541256 but this seems slightly different.

# grep '^[^#]' /etc/ldap/ldap.conf 
TLS_CACERT	/etc/ssl/certs/ca-certificates.crt
TLS_REQCERT never
TLS_CIPHER_SUITE TLSv1

I understand TLSv1 may be an invalid value but it shouldn't crash either
way. The squeeze version (2.4.23-7.2) just gives
"ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)" but the sid
version does:

# ldapsearch  -H ldaps://192.168.12.1 -x '(objectclass=*)' dn
*** glibc detected *** ldapsearch: double free or corruption (top): 0x09fa73a8 ***
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6aac1)[0xf7475ac1]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6c328)[0xf7477328]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xf747a3dd]
/usr/lib/i386-linux-gnu/libgnutls.so.26(gnutls_priority_deinit+0x1e)[0xf76535fe]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:03 789962                             /usr/bin/ldapsearch
0805a000-0805b000 rw-p 00011000 08:03 789962                             /usr/bin/ldapsearch
09f93000-09fb4000 rw-p 00000000 00:00 0                                  [heap]
f7200000-f7221000 rw-p 00000000 00:00 0 
f7221000-f7300000 ---p 00000000 00:00 0 
f7382000-f739e000 r-xp 00000000 08:03 491067                             /lib/i386-linux-gnu/libgcc_s.so.1
f739e000-f739f000 rw-p 0001b000 08:03 491067                             /lib/i386-linux-gnu/libgcc_s.so.1
f739f000-f73a3000 r-xp 00000000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f73a3000-f73a4000 r--p 00004000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f73a4000-f73a5000 rw-p 00005000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f73a5000-f73af000 r-xp 00000000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f73af000-f73b0000 r--p 00009000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f73b0000-f73b1000 rw-p 0000a000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f73b1000-f73b3000 rw-p 00000000 00:00 0 
f73b3000-f73b6000 r-xp 00000000 08:03 633972                             /lib/libgpg-error.so.0.8.0
f73b6000-f73b7000 rw-p 00002000 08:03 633972                             /lib/libgpg-error.so.0.8.0
f73b7000-f73c7000 r-xp 00000000 08:03 502074                             /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
f73c7000-f73c8000 rw-p 0000f000 08:03 502074                             /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
f73c8000-f73c9000 rw-p 00000000 00:00 0 
f73c9000-f73dc000 r-xp 00000000 08:03 166746                             /usr/lib/libz.so.1.2.3.4
f73dc000-f73dd000 rw-p 00013000 08:03 166746                             /usr/lib/libz.so.1.2.3.4
f73dd000-f73ed000 r-xp 00000000 08:03 674350                             /usr/lib/i386-linux-gnu/libtasn1.so.3.1.11
f73ed000-f73ee000 rw-p 0000f000 08:03 674350                             /usr/lib/i386-linux-gnu/libtasn1.so.3.1.11
f73ee000-f73f0000 r-xp 00000000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f73f0000-f73f1000 r--p 00001000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f73f1000-f73f2000 rw-p 00002000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f73f2000-f7407000 r-xp 00000000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7407000-f7408000 r--p 00014000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7408000-f7409000 rw-p 00015000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7409000-f740b000 rw-p 00000000 00:00 0 
f740b000-f755e000 r-xp 00000000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f755e000-f755f000 ---p 00153000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f755f000-f7561000 r--p 00153000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7561000-f7562000 rw-p 00155000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7562000-f7566000 rw-p 00000000 00:00 0 
f7566000-f7576000 r-xp 00000000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7576000-f7577000 r--p 00010000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7577000-f7578000 rw-p 00011000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7578000-f757a000 rw-p 00000000 00:00 0 
f757a000-f7583000 r-xp 00000000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7583000-f7584000 r--p 00008000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7584000-f7585000 rw-p 00009000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7585000-f75ac000 rw-p 00000000 00:00 0 
f75ac000-f762e000 r-xp 00000000 08:03 483058                             /lib/i386-linux-gnu/libgcrypt.so.11.7.0
f762e000-f7631000 rw-p 00081000 08:03 483058                             /lib/i386-linux-gnu/libgcrypt.so.11.7.0
f7631000-f76f2000 r-xp 00000000 08:03 831581                             /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4
f76f2000-f76f7000 rw-p 000c0000 08:03 831581                             /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4
f76f7000-f7711000 r-xp 00000000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7711000-f7712000 r--p 00019000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7712000-f7713000 rw-p 0001a000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7713000-f7714000 rw-p 00000000 00:00 0 
f7714000-f7721000 r-xp 00000000 08:03 632333                             /usr/lib/i386-linux-gnu/liblber-2.4.so.2.7.0
f7721000-f7722000 rw-p 0000c000 08:03 632333                             /usr/lib/i386-linux-gnu/liblber-2.4.so.2.7.0
f7722000-f776f000 r-xp 00000000 08:03 632334                             /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.7.0
f776f000-f7771000 rw-p 0004c000 08:03 632334                             /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.7.0
f7771000-f7772000 rw-p 00000000 00:00 0 
f7776000-f7778000 rw-p 00000000 00:00 0 
f7778000-f7779000 r-xp 00000000 00:00 0                                  [vdso]
f7779000-f7794000 r-xp 00000000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
f7794000-f7795000 r--p 0001b000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
f7795000-f7796000 rw-p 0001c000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
ff98e000-ff9af000 rw-p 00000000 00:00 0                                  [stack]
Aborted

# valgrind ldapsearch  -H ldaps://192.168.12.1 -x '(objectclass=*)' dn
==29166== Memcheck, a memory error detector
==29166== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==29166== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==29166== Command: ldapsearch -H ldaps://192.168.12.1 -x (objectclass=*) dn
==29166== 
==29166== Invalid free() / delete / delete[]
==29166==    at 0x48CB21C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==29166==    by 0x69735FD: gnutls_priority_deinit (in /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4)
==29166==    by 0x49150CA: tlsg_ctx_free (tls_g.c:275)
==29166==    by 0x49118C2: ldap_pvt_tls_ctx_free (tls2.c:79)
==29166==    by 0x49119A7: ldap_int_tls_init_ctx (tls2.c:245)
==29166==    by 0x4911BD6: ldap_pvt_tls_init_def_ctx (tls2.c:269)
==29166==    by 0x4911C95: alloc_handle (tls2.c:284)
==29166==    by 0x4911D77: ldap_int_tls_connect.isra.2 (tls2.c:333)
==29166==    by 0x4912916: ldap_int_tls_start (tls2.c:825)
==29166==    by 0x48EA3F3: ldap_int_open_connection (open.c:437)
==29166==    by 0x48FFC13: ldap_new_connection (request.c:477)
==29166==    by 0x48E98E9: ldap_open_defconn (open.c:41)
==29166==  Address 0x6d5ce10 is 0 bytes inside a block of size 492 free'd
==29166==    at 0x48CB21C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==29166==    by 0x6973399: gnutls_priority_init (in /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4)
==29166==    by 0x491436B: tlsg_ctx_init (tls_g.c:791)
==29166== 
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
==29166== 
==29166== HEAP SUMMARY:
==29166==     in use at exit: 62,955 bytes in 963 blocks
==29166==   total heap usage: 1,546 allocs, 584 frees, 81,618 bytes allocated
==29166== 
==29166== LEAK SUMMARY:
==29166==    definitely lost: 492 bytes in 1 blocks
==29166==    indirectly lost: 0 bytes in 0 blocks
==29166==      possibly lost: 0 bytes in 0 blocks
==29166==    still reachable: 62,463 bytes in 962 blocks
==29166==         suppressed: 0 bytes in 0 blocks
==29166== Rerun with --leak-check=full to see details of leaked memory
==29166== 
==29166== For counts of detected and suppressed errors, rerun with: -v
==29166== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 43 from 10)

# gdb ldapsearch
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ldapsearch...(no debugging symbols found)...done.
(gdb) r -H ldaps://192.168.12.1 -x '(objectclass=*)' dn
Starting program: /usr/bin/ldapsearch -H ldaps://192.168.12.1 -x '(objectclass=*)' dn
[Thread debugging using libthread_db enabled]
*** glibc detected *** /usr/bin/ldapsearch: double free or corruption (top): 0x0806f3a8 ***
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6aac1)[0xf7cddac1]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6c328)[0xf7cdf328]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xf7ce23dd]
/usr/lib/i386-linux-gnu/libgnutls.so.26(gnutls_priority_deinit+0x1e)[0xf7ebb5fe]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:03 789962                             /usr/bin/ldapsearch
0805a000-0805b000 rw-p 00011000 08:03 789962                             /usr/bin/ldapsearch
0805b000-0807c000 rw-p 00000000 00:00 0                                  [heap]
f7ae3000-f7aff000 r-xp 00000000 08:03 491067                             /lib/i386-linux-gnu/libgcc_s.so.1
f7aff000-f7b00000 rw-p 0001b000 08:03 491067                             /lib/i386-linux-gnu/libgcc_s.so.1
f7b00000-f7b21000 rw-p 00000000 00:00 0 
f7b21000-f7c00000 ---p 00000000 00:00 0 
f7c07000-f7c0b000 r-xp 00000000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f7c0b000-f7c0c000 r--p 00004000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f7c0c000-f7c0d000 rw-p 00005000 08:03 423239                             /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
f7c0d000-f7c17000 r-xp 00000000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f7c17000-f7c18000 r--p 00009000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f7c18000-f7c19000 rw-p 0000a000 08:03 420556                             /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f7c19000-f7c1b000 rw-p 00000000 00:00 0 
f7c1b000-f7c1e000 r-xp 00000000 08:03 633972                             /lib/libgpg-error.so.0.8.0
f7c1e000-f7c1f000 rw-p 00002000 08:03 633972                             /lib/libgpg-error.so.0.8.0
f7c1f000-f7c2f000 r-xp 00000000 08:03 502074                             /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
f7c2f000-f7c30000 rw-p 0000f000 08:03 502074                             /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
f7c30000-f7c31000 rw-p 00000000 00:00 0 
f7c31000-f7c44000 r-xp 00000000 08:03 166746                             /usr/lib/libz.so.1.2.3.4
f7c44000-f7c45000 rw-p 00013000 08:03 166746                             /usr/lib/libz.so.1.2.3.4
f7c45000-f7c55000 r-xp 00000000 08:03 674350                             /usr/lib/i386-linux-gnu/libtasn1.so.3.1.11
f7c55000-f7c56000 rw-p 0000f000 08:03 674350                             /usr/lib/i386-linux-gnu/libtasn1.so.3.1.11
f7c56000-f7c58000 r-xp 00000000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f7c58000-f7c59000 r--p 00001000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f7c59000-f7c5a000 rw-p 00002000 08:03 394721                             /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f7c5a000-f7c6f000 r-xp 00000000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7c6f000-f7c70000 r--p 00014000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7c70000-f7c71000 rw-p 00015000 08:03 385117                             /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f7c71000-f7c73000 rw-p 00000000 00:00 0 
f7c73000-f7dc6000 r-xp 00000000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7dc6000-f7dc7000 ---p 00153000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7dc7000-f7dc9000 r--p 00153000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7dc9000-f7dca000 rw-p 00155000 08:03 420538                             /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7dca000-f7dce000 rw-p 00000000 00:00 0 
f7dce000-f7dde000 r-xp 00000000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7dde000-f7ddf000 r--p 00010000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7ddf000-f7de0000 rw-p 00011000 08:03 420468                             /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
f7de0000-f7de2000 rw-p 00000000 00:00 0 
f7de2000-f7deb000 r-xp 00000000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7deb000-f7dec000 r--p 00008000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7dec000-f7ded000 rw-p 00009000 08:03 394720                             /lib/i386-linux-gnu/i686/cmov/libcrypt-2.13.so
f7ded000-f7e14000 rw-p 00000000 00:00 0 
f7e14000-f7e96000 r-xp 00000000 08:03 483058                             /lib/i386-linux-gnu/libgcrypt.so.11.7.0
f7e96000-f7e99000 rw-p 00081000 08:03 483058                             /lib/i386-linux-gnu/libgcrypt.so.11.7.0
f7e99000-f7f5a000 r-xp 00000000 08:03 831581                             /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4
f7f5a000-f7f5f000 rw-p 000c0000 08:03 831581                             /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4
f7f5f000-f7f79000 r-xp 00000000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7f79000-f7f7a000 r--p 00019000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7f7a000-f7f7b000 rw-p 0001a000 08:03 323259                             /usr/lib/i386-linux-gnu/libsasl2.so.2.0.24
f7f7b000-f7f7c000 rw-p 00000000 00:00 0 
f7f7c000-f7f89000 r-xp 00000000 08:03 632333                             /usr/lib/i386-linux-gnu/liblber-2.4.so.2.7.0
f7f89000-f7f8a000 rw-p 0000c000 08:03 632333                             /usr/lib/i386-linux-gnu/liblber-2.4.so.2.7.0
f7f8a000-f7fd7000 r-xp 00000000 08:03 632334                             /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.7.0
f7fd7000-f7fd9000 rw-p 0004c000 08:03 632334                             /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.7.0
f7fd9000-f7fda000 rw-p 00000000 00:00 0 
f7fde000-f7fe0000 rw-p 00000000 00:00 0 
f7fe0000-f7fe1000 r-xp 00000000 00:00 0                                  [vdso]
f7fe1000-f7ffc000 r-xp 00000000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
f7ffc000-f7ffd000 r--p 0001b000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
f7ffd000-f7ffe000 rw-p 0001c000 08:03 1075476                            /lib/i386-linux-gnu/ld-2.13.so
fffdd000-ffffe000 rw-p 00000000 00:00 0                                  [stack]

Program received signal SIGABRT, Aborted.
0xf7fe0430 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7fe0430 in __kernel_vsyscall ()
#1  0xf7c9d911 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xf7ca0d42 in *__GI_abort () at abort.c:92
#3  0xf7cd39d5 in __libc_message (do_abort=2, fmt=0xf7da8a90 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xf7cddac1 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x806f3a8)
    at malloc.c:6283
#5  0xf7cdf328 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4795
#6  0xf7ce23dd in *__GI___libc_free (mem=0x806f3a8) at malloc.c:3738
#7  0xf7ebb5fe in gnutls_priority_deinit () from /usr/lib/i386-linux-gnu/libgnutls.so.26
#8  0xf7fc40cb in tlsg_ctx_free (ctx=0x806f128) at tls_g.c:275
#9  tlsg_ctx_free (ctx=0x806f128) at tls_g.c:262
#10 0xf7fc08c3 in ldap_pvt_tls_ctx_free (c=0x806f128) at tls2.c:79
#11 0xf7fc09a8 in ldap_int_tls_init_ctx (lo=0xf7fd7e80, is_server=<optimized out>) at tls2.c:245
#12 0xf7fc0bd7 in ldap_pvt_tls_init_def_ctx (is_server=0) at tls2.c:269
#13 0xf7fc0c96 in alloc_handle (ctx_arg=<optimized out>, is_server=<optimized out>) at tls2.c:284
#14 0xf7fc0d78 in ldap_int_tls_connect (ld=0x805b060, conn=<optimized out>) at tls2.c:333
#15 0xf7fc1917 in ldap_int_tls_start (ld=0x805b060, conn=0x805b2b0, srv=0x805b230) at tls2.c:825
#16 0xf7f993f4 in ldap_int_open_connection (ld=0x805b060, conn=0x805b2b0, srv=0x805b230, async=0) at open.c:437
#17 0xf7faec14 in ldap_new_connection (ld=0x805b060, srvlist=0x805c340, use_ldsb=1, connect=1, bind=0x0, m_req=0, m_res=0)
    at request.c:477
#18 0xf7f988ea in ldap_open_defconn (ld=0x805b060) at open.c:41
#19 0xf7fb0370 in ldap_send_initial_request (ld=0x805b060, msgtype=96, dn=0xf7fca8c4 "", ber=0x805b1a0, msgid=1)
    at request.c:129
#20 0xf7fa3954 in ldap_sasl_bind (ld=0x805b060, dn=0xf7fca8c4 "", mechanism=0x0, cred=0x805a9c4, sctrls=0x0, cctrls=0x0, 
    msgidp=0xffff9bbc) at sasl.c:148
#21 0x0804f56b in ?? ()
#22 0x0804aa4e in ?? ()
#23 0xf7c89e46 in __libc_start_main (main=0x804a840, argc=6, ubp_av=0xffffdcf4, init=0x8054c30, fini=0x8054c20, 
    rtld_fini=0xf7fef310, stack_end=0xffffdcec) at libc-start.c:228
#24 0x0804bc1d in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

The same crash happens when using startTLS instead of ldaps://.

Thanks.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ldap-utils depends on:
ii  libc6          2.13-18
ii  libgcrypt11    1.5.0-3
ii  libgnutls26    2.12.10-1
ii  libldap-2.4-2  2.4.25-3
ii  libsasl2-2     2.1.24~rc1.dfsg1+cvs2011-05-23-6

Versions of packages ldap-utils recommends:
ii  libsasl2-modules  2.1.24~rc1.dfsg1+cvs2011-05-23-6

-- 
-- arthur - adejong at debian.org - http://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20110904/e2d8b791/attachment.pgp>


More information about the Pkg-openldap-devel mailing list