php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13473 ldap_add, ldap_modify crash in the case of multiple values of an attribute
Submitted: 2001-09-28 05:43 UTC Modified: 2001-11-05 07:03 UTC
From: sintoris at cti dot gr Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.6 OS: Solaris 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
22 + 38 = ?
Subscribe to this entry?

 
 [2001-09-28 05:43 UTC] sintoris at cti dot gr
ldap_add, ldap_modify cause kill of four apache processes in the case of multiple values of an attribute, when they are not indexed using integers starting with 0.

entry["attribute0"][4] = value0
entry["attribute0"][5] = value1

There should be an error message or warning preventing this kind of entry indexing. 

php 4.0.6
OpenLDAP 2.0.11
Apache 1.3.17
Solaris 7

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-05 07:03 UTC] venaas@php.net
Fixed in CVS. It now gives a warning, and ldap_add and
modify return false
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC