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

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



At 07:00 AM 2/28/2003, quanah@stanford.edu wrote:
>perl ldap.monitor directory1.stanford.edu
>getdn.c:93: failed assertion `ld != NULL'
>Abort

The assertion is valid.  A non-NULL ld argument is a
required parameter of the ldap_get_dn() routine.
If you remove the assertion, you should find that the
routine will segfault when it attempted to
dereference ld.

Kurt