]> 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:59:38 +0000 (20:59 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Oct 2006 20:59:38 +0000 (20:59 +0000)
NEWS
ext/ldap/config.m4

diff --git a/NEWS b/NEWS
index fef62f80e01d2b1ef8b4b1f0d1fa29e8d0f731d8..ba1d63f53844d551eda90b50df148e70e01b2c0c 100644 (file)
--- 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)
index 81396e33c1d1ee48caa922b824a27200e763e7da..712ca5dad7f155539cd38a2ec8cd8bc2fbbead97 100644 (file)
@@ -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