ID: 14056
Updated by: bate
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Redhat 7.0
PHP Version: 4.0.6
New Comment:

Its now Fixed.

Previous Comments:
------------------------------------------------------------------------

[2001-11-15 05:53:12] [EMAIL PROTECTED]


Yes, it is fixed in the current CVS, I used, php4-200111150000

I could even increase max to 300 and it worked. However, when submitting my test 
script with no files inserted for upload, the values of the file uploads were not 
"none", but a temporary file. Unexpected behaviour which may lead to problems. The 
size of the (temp)files is 0, but the value of the variable should be "none" or "".

------------------------------------------------------------------------

[2001-11-14 13:13:00] [EMAIL PROTECTED]

Cannot reproduce with current CVS.

------------------------------------------------------------------------

[2001-11-14 12:30:14] [EMAIL PROTECTED]

Can you try a snapshot from snaps.php.net and report back if that fixes the problem?

Derick

------------------------------------------------------------------------

[2001-11-14 12:08:47] [EMAIL PROTECTED]

<!-- 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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to