#19442 [NEW]: In a loop of gzopen gzclose the server stops
| From: | rodrigo-rocha at oi dot net dot br | Date: | Mon, 16 Sep 2002 20:42:02 +0000 |
| Subject: | #19442 [NEW]: In a loop of gzopen gzclose the server stops | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-19494@lists.php.net to get a copy of this message | ||
From: rodrigo-rocha@oi.net.br
Operating system: windows/?
PHP version: 4.2.3
PHP Bug Type: Zlib Related
Bug description: In a loop of gzopen gzclose the server stops
This script will make the setver to crash down
<?php
$filepointer = gzopen("somefile.txt","rb");
gzclose($filepointer);
echo "<script>
window.location='$_SERVER[REQUEST_URI]';
</script>";
?>
At my apache web server this crash after 508 loops.
--
Edit bug report at http://bugs.php.net/?id=19442&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19442&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19442&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19442&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19442&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19442&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19442&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19442&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19442&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19442&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19442&r=globals