|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7768 PHP is crashing -> ldap_mod_add
Submitted: 2000-11-12 14:41 UTC Modified: 2000-11-12 21:05 UTC
From: lars at kneschke dot de Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
 [2000-11-12 14:41 UTC] lars at kneschke dot 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'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-12 21:05 UTC]
Fixed in CVS.  Thank you for pointing this out!
Now if some key is numeric PHP will fail.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 17:01:30 2024 UTC