ID: 49108 Updated by: fel...@php.net Reported By: michael202 at gmx dot de -Status: Open +Status: Assigned Bug Type: Reproducible crash Operating System: Suse Linux PHP Version: 5.3.0 -Assigned To: +Assigned To: felipe
Previous Comments: ------------------------------------------------------------------------ [2009-07-30 10:59:24] michael202 at gmx dot de Description: ------------ the second call to scandir() crashes the script with a "Segmentation fault". Reproduce code: --------------- <?php $dir1 = 'ftp://anonymous:anonym...@mirrors.kernel.org/suse/'; $f = scandir($dir1 . 'i386/'); echo count($f) . "\n"; $f = scandir($dir1 . 'noarch/'); echo count($f) . "\n"; Expected result: ---------------- # php php_scandir_segfault.php 5 1 Actual result: -------------- # php php_scandir_segfault.php 5 Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49108&edit=1