php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lars at kneschke dot de
New email:
PHP Version: OS:

 

 [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'

Patches

Pull Requests

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC