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
 [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: Mon Apr 22 22:01:31 2024 UTC