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

ud can segfault with no default settings (ITS#254)

Full_Name: David J. N. Begley
Version: 2.0-devel
OS: Solaris 7
Submission from: (NULL) (

With no default .../etc/ud.conf file and no "-s" command line parameter,
"ud" will dump core if it is run and the "status" command is issued.

"ud.conf" is not installed by default (make install).

The cause is line 298 of "./clients/ud/main.c" - at this point, with no
default otherwise set, printf is passed a NULL pointer (causing the
subsequent segfault and core dump).

"ud" does not appear to read its defaults from .../etc/ldap.conf as with
the other supplied LDAP clients.