#19106 [NEW]: segfault on ldap_mod_del call

From: Date: Mon, 26 Aug 2002 13:33:31 +0000
Subject: #19106 [NEW]: segfault on ldap_mod_del call
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17851@lists.php.net to get a copy of this message
From: matt@sbi.co.nz Operating system: debian woody PHP version: 4.1.2 PHP Bug Type: Reproducible crash Bug description: segfault on ldap_mod_del call the line: ldap_mod_del($this->cid, $dn, $attrs); where $attrs holds: Array ( [street] => Array ( [0] => test ) ) and currently in openldap (2.0.23) the attributes are: Array ( [street] => Array ( [0] => test [1] => test1 [2] => test2 ) ) causes apache (1.3.26) to segfault thus: [Tue Aug 27 01:05:41 2002] [notice] child pid 6589 exit signal Segmentation fault (11) [Tue Aug 27 01:05:42 2002] [notice] child pid 6590 exit signal Segmentation fault (11) etc ... from what i can gather, an attempt to ldap_mod_del an attribute [0] whilst [1] still holds a value causes the segfault. because calling ldap_mod_del to delete all three attributes works fine. -- Edit bug report at http://bugs.php.net/?id=19106&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19106&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19106&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19106&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19106&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19106&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19106&r=support Expected behavior: http://bugs.php.net/fix.php?id=19106&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19106&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19106&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19106&r=globals

« previous php.bugs (#17851) next »