]> granicus.if.org Git - php/commitdiff
MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Oct 2006 20:58:23 +0000 (20:58 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Oct 2006 20:58:23 +0000 (20:58 +0000)
NEWS
ext/ldap/config.m4

diff --git a/NEWS b/NEWS
index d0499ad06a83308880f49ca5ab338372575ae22d..f3f68b00e8077dc09b214fff8097408b19cd3bb3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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)
index 401829fcf4614be37deddc66fedad93ee9410805..5f710b823354599a53aea79c51811c7525816b7b 100644 (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