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

slapd_slp_dereg should check slapd_srvurls before deref (ITS#2438)

Full_Name: Stephen Frost
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

In servers/slapd/daemon.c:slapd_slp_dereg() should check that slapd_srvurls is
valid before attempting to dereference it.  ie:
for( i=0; slapd_srvurls && slapd_srvurls[i] != NULL; i++ ) {

If you'd like a patch I'd be happy to supply one.