Bug #14056 Updated: Large amounts of fileuploads in a page cause segmentation fault
| From: | mfischer@php.net | Date: | Wed, 14 Nov 2001 18:13:00 +0000 |
| Subject: | Bug #14056 Updated: Large amounts of fileuploads in a page cause segmentation fault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70469@lists.php.net to get a copy of this message | ||
ID: 14056
Updated by: mfischer
Reported By: michiel@tincan.co.uk
Status: Feedback
Bug Type: Reproducible crash
Operating System: Redhat 7.0
PHP Version: 4.0.6
New Comment:
Cannot reproduce with current CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-11-14 12:30:14] derick@php.net
Can you try a snapshot from snaps.php.net and report back if that fixes the problem?
Derick
------------------------------------------------------------------------
[2001-11-14 12:08:47] michiel@tincan.co.uk
<!-- example that causes the error -->
<!-- you don't need to upload any files, just clicking Submit will cause the crash -->
<form method=post enctype="multipart/form-data">
<?
if (is_array($file))
while (list($key,$val) = each($file))
print "$key => $val<br>\n";
# changing max to 33 will not cause the segfault, 34 will.
$msx = 34;
for ($i=0;$i<$msx;$i++) {
print $i.'Upload file: <input type=file
name="file['.$i.']"><br>';
}
?>
<input type=submit>
</form>
<--end of example -->
--with-mysql=/usr --enable-sysvshm=yes --enable-sysvsem=yes --enable-versioning --with-gd=/usr
--enable-track-vars=yes --enable-force-cgi-redirect=yes --enable-memory-limit=yes
--with-apache=../apache_1.3.19 --enable-debug=no --with-mcrypt
Page works if I switch back to php 4.0.4-pl1
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14056&edit=1