MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)

This commit is contained in:
Antony Dovgal 2006-10-18 20:58:23 +00:00
parent 2193a77eed
commit c79ba67673
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -18,6 +18,8 @@ PHP NEWS
files). (Ilia)
- Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of
open_basedir). (Ilia)
- Fixed bug #38882 (ldap_connect causes segfault with newer versions of
OpenLDAP). (Tony)
- Fixed bug #38649 (uninit'd optional arg in stream_socket_sendto()). (Sara)
- Fixed bug #38465 (ReflectionParameter fails if default value is an access to
self::). (Johannes)

View File

@ -70,7 +70,7 @@ PHP_ARG_WITH(ldap-sasl,for LDAP Cyrus SASL support,
if test "$PHP_LDAP" != "no"; then
PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared)
PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared,,-DLDAP_DEPRECATED=1)
if test "$PHP_LDAP" = "yes"; then
for i in /usr/local /usr; do