PHP 4.0 Bug #7768 Updated: PHP is crashing -> ldap_mod_add
| From: | sniper@php.net | Date: | Mon, 13 Nov 2000 02:05:35 +0000 |
| Subject: | PHP 4.0 Bug #7768 Updated: PHP is crashing -> ldap_mod_add | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37868@lists.php.net to get a copy of this message | ||
ID: 7768
Updated by: sniper
Reported By: lars@kneschke.de
Status: Closed
Bug Type: LDAP related
Assigned To:
Comments:
Fixed in CVS. Thank you for pointing this out!
Now if some key is numeric PHP will fail.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-12 14:41:59] lars@kneschke.de
$preference["2"] = "true";
ldap_mod_add($ds, $dn, $preference);
This piece of code is crashing php. The problem is the number as key.
'./configure' '--with-openssl' '--with-ldap'
'--enable-force-cgi-redirect' '--with-pdflib' '--with-gettext'
'--with-mysql' '--prefix=/opt/php-4.0.2' '--with-imap'
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7768