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

(ITS#4370) daemon_destroy destroys possibly invalid mutex



Full_Name: Donn Cave
Version: OPENLDAP_REL_ENG_2_3
OS: NetBSD 3.0
URL: 
Submission from: (NULL) (128.95.135.150)


It is possible for slapd_daemon_init() to return without having inited
slap_daemon.sd_mutex.  In this case, slap_daemon_destroy should not attempt to
destroy it, at line 1237 in daemon.c.

This occurs, for example, when slapd is unable to bind to any address.