Import slapd tcp_wrapper DoS bug fix from -devel.

This commit is contained in:
Kurt Zeilenga 1999-01-07 18:24:25 +00:00
parent 339e8d88e4
commit 2b62024753
2 changed files with 5 additions and 2 deletions

View File

@ -2,8 +2,9 @@ OpenLDAP Change Log
Changes included in OpenLDAP 1.1.x
CVS Tag: OPENLDAP_REL_ENG_1_1
Fixed slapd/strtok needs mutex bug
Fixed slapd/ldbm/delete initialization bug (ITS#31)
Fixed slapd/strtok needs mutex bug
Fixed salpd/tcpd DoS bug
Build environment
Fixed doc/man reinstall bug

View File

@ -277,7 +277,9 @@ slapd_daemon(
}
#ifdef HAVE_TCPD
if(!hosts_ctl("slapd", client_name, client_addr,
if(!hosts_ctl("slapd",
client_name != NULL ? client_name : STRING_UNKNOWN,
client_addr != NULL ? client_addr : STRING_UNKNOWN,
STRING_UNKNOWN))
{
/* DENY ACCESS */