PHP 4.0 Bug #9019: Segmentation fault using ldap_mod_del()
| From: | j_zuilkowski at hotmail dot com | Date: | Wed, 31 Jan 2001 02:07:10 +0000 |
| Subject: | PHP 4.0 Bug #9019: Segmentation fault using ldap_mod_del() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45415@lists.php.net to get a copy of this message | ||
From: j_zuilkowski@hotmail.com
Operating system: Mandrake 7.2 - stock
PHP version: 4.0.4pl1
PHP Bug Type: LDAP related
Bug description: Segmentation fault using ldap_mod_del()
Here is the code segment:
--------------snip----------------------------
if($ACCESS == "No") {
for ($i=0; $i<$attrs["uniquemember"]["count"]; $i++) {
if($attrs["uniquemember"][$i] == $dn) {
$setvar["uniquemember"][$i]=$attrs["uniquemember"][$i];
}
}
$result=ldap_mod_del($ds, "cn=FTP,ou=groups,o=equifax.com", $setvar);
---------------snip----------------------------
Here is the apache log:
[Tue Jan 30 21:02:28 2001] [notice] child pid 3807 exit signal Segmentation fault (11)
[Tue Jan 30 21:02:49 2001] [notice] child pid 3808 exit signal Segmentation fault (11)
[Tue Jan 30 21:02:56 2001] [notice] child pid 3812 exit signal Segmentation fault (11)
[Tue Jan 30 21:05:08 2001] [notice] child pid 3806 exit signal Segmentation fault (11)
[Tue Jan 30 21:05:10 2001] [notice] child pid 3809 exit signal Segmentation fault (11)
Everytime I click my submit button to send my form (which then calls said code above), I get back
"The document contained no data..."
and apache dumps another seg fault line in the error log.
--
Edit Bug report at: http://bugs.php.net/?id=9019&edit=1