From: Antony Dovgal Date: Wed, 18 Oct 2006 20:59:38 +0000 (+0000) Subject: MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) X-Git-Tag: php-4.4.5RC1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64107bef551c5dc77a18fc8eba77890191a4cb7a;p=php MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) --- diff --git a/NEWS b/NEWS index fef62f80e0..ba1d63f538 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,8 @@ PHP 4 NEWS - Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty files). (Ilia) - Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). (Ilia) +- Fixed bug #38882 (ldap_connect causes segfault with newer versions of + OpenLDAP). (Tony) - Fixed bug #38859 (parse_url() fails if passing '@' in passwd). (Tony,Ilia) - Fixed bug #38534 (segfault when calling setlocale() in userspace session handler). (Tony) diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4 index 81396e33c1..712ca5dad7 100644 --- a/ext/ldap/config.m4 +++ b/ext/ldap/config.m4 @@ -23,7 +23,7 @@ PHP_ARG_WITH(ldap,for LDAP 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