php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5234 PHP dumps core at line 1160 of ldap.c
Submitted: 2000-06-27 16:02 UTC Modified: 2000-06-28 05:31 UTC
From: eric at ypass dot net Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.0 Release OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eric at ypass dot net
New email:
PHP Version: OS:

 

 [2000-06-27 16:02 UTC] eric at ypass dot net
on line 1160 of ldap.c,  the line should be changed as follows:

-ldap_mods[i]->mod_values[j][(*value)->value.str.len] = '\0';
+ldap_mods[i]->mod_values[j][(*ivalue)->value.str.len] = '\0';

Or.. at least that fixed my problem. :).  If you guys keep credits, it'd be nice to have my name in the list somewhere :).  Thanks for the great language guys.  I'm really liking PHP4 quite a bit.

Eric Kilfoil

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 05:31 UTC] thies at cvs dot php dot net
applied to CVS, thanx

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Dec 03 08:03:33 2021 UTC