From:             [EMAIL PROTECTED]
Operating system: LInux 2.4.18
PHP version:      4.1.2
PHP Bug Type:     Directory function related
Bug description:  misstyped opendir segfaults apache

This probably doesn't matter much but.
Due to a faulty copy/paste on a script, i noticed that apache segfaults on
the following code:
<? 
define("FOOBAR",opendir("/tmp/"));
$foo=opendir("/etc/");
?>

Obviously this code is incorrect, but still you might find usefull to
correct the segfault.

error.log:
[Sat May 11 02:32:51 2002] [notice] child pid 13397 exit signal
Segmentation fault (11)
(repeats)

Regards,

Joao Gouveia
-- 
Edit bug report at http://bugs.php.net/?id=17150&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17150&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17150&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17150&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17150&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17150&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17150&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17150&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17150&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17150&r=globals

Reply via email to