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

Bad assertion in getdn.c for libldap (ITS#2338)

Full_Name: Quanah Gibson-Mount
Version: 2.1.13
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


In evaluating a script that had run fine when using Net::LDAPapi compiled
against the old Netscape libraries with Symas' Net::LDAPapi & OpenLDAP libraries
from 2.1.13, I found that it now fails due to a failed assertion in getdn.c for
libldap at line 93.

The script simply makes an anonymous bind to our Netscape directory servers &
does a query on the cn=monitor piece.  It gets as far as performing the search
before returning the error:

perl ldap.monitor directory1.stanford.edu
getdn.c:93: failed assertion `ld != NULL'

You can see the script at: