PHP 4.0 Bug #9793 Updated: ldap_mod_add with bad params cause Segfault
| From: | sniper@php.net | Date: | Fri, 16 Mar 2001 18:50:16 +0000 |
| Subject: | PHP 4.0 Bug #9793 Updated: ldap_mod_add with bad params cause Segfault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49095@lists.php.net to get a copy of this message | ||
ID: 9793
Updated by: sniper
Reported By: ondrej@sury.cz
Old-Status: Open
Status: Feedback
Bug Type: LDAP related
Assigned To:
Comments:
I can't reproduce this. Which ldap library are you using?
OpenLdap? And version? I tried with openldap 2.0.7 and
it just gave an error on that first example.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-16 11:48:02] ondrej@sury.cz
This cause SegFault:
ldap_mod_add($param, $dn, Array("mail" => Array("1" =>
"info@php.net")));
This one works ok:
ldap_mod_add($param, $dn, Array("mail" => Array("0" =>
"info@php.net")));
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9793&edit=2