php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21337 php crashes on ldap_sort
Submitted: 2003-01-02 08:31 UTC Modified: 2003-07-04 02:07 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: r dot hozee at maas-delta dot nl Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 4.3.0 OS: Windows XP
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: r dot hozee at maas-delta dot nl
New email:
PHP Version: OS:

 

 [2003-01-02 08:31 UTC] r dot hozee at maas-delta dot nl
Im using apache 2.0.43 as my webserver.
My ldap server is MS Exchange 5.5.

on ldap_sort my PHP Script Interpreter crashes and gives out this signature:
szAppName : php.exe     szAppVer : 4.3.0.0     szModName : php4ts.dll     
szModVer : 4.3.0.0     offset : 000ad517



   

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-02 14:06 UTC] iliaa@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Could you please provide the smallest possible test script that could be replicate the problem.
 [2003-01-03 01:52 UTC] r dot hozee at maas-delta dot nl
script used:

$ds = ldap_connect("mailservername") 

if ($ds) 
 
   { 
   $ldapbind = ldap_bind($ds, $ldaprdn, $ldappass);
   $sr=ldap_search($ds,"o=my org, c=NL", "cn=*");
   ldap_sort($ds,$sr,"cn");
   $info = ldap_get_entries($ds,$sr);
   //what follows is retrieval of entries
   } 

script works ok if i leave ldap_sort out

it also crashes when i replace
ldap_sort($ds,$sr,"cn");
with
$sr = ldap_sort($ds,$sr,"cn");
or replacing cn with givenname.

I used the precompiled version of php 4.3 from php.net
 [2003-01-15 15:59 UTC] sniper@php.net
Does the same happen within command line, using PHP CLI ?

 [2003-01-17 02:04 UTC] r dot hozee at maas-delta dot nl
PHP crashed running from command line, using both CLI and CGI.
 [2003-07-04 02:07 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 15:01:31 2024 UTC