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

ud segfault (ITS#328)

Full_Name: Jeff Horwitz
Version: 1.2.7
OS: RedHat 6.0 (kernel 2.2.10)
URL: http://www.laserlink.net/~jeff/openldap/jeff-horwitz-991017.patch
Submission from: (NULL) (

ud segfaults in my_ldap_dn2ufn (util.c) because of a NULL pointer in strstr. 
notably, this causes ud to dump core during a "find" of a group.  Replacing the
NULL pointer with the one-character string "\0" fixes the problem.

The supplied patch can be applied as follows:

1) copy the patch to the root directory of your OpenLDAP distribution.
2) patch -p1 < jeff-horwitz-991017.patch