mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
Import slapd tcp_wrapper DoS bug fix from -devel.
This commit is contained in:
parent
339e8d88e4
commit
2b62024753
3
CHANGES
3
CHANGES
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user