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
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:
39 - 29 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC