Bug #14201: Crash when uploading multiple files

From: Date: Fri, 23 Nov 2001 21:37:39 +0000
Subject: Bug #14201: Crash when uploading multiple files
Groups: php.dev 
Request: Send a blank email to php-dev+get-71499@lists.php.net to get a copy of this message
From: djonexx@alpinet.org Operating system: Windows 2000, Linux PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Crash when uploading multiple files When using a form to upload multiple files with the same name (example follows), there is a GPF in PHP4TS.DLL at address 0x005362EB. It is trying to read from address 0x00000001. The PHP is 4.0.6 running on an Apache 1.3.20 server on Win2k sp2. The same problem manifests also on Linux 2.2.19. Use a HTML page like this to upload files: <form method="post" enctype="multipart/form-data" action="upload-test.php"> <input type="file" name="image[]"><input type="hidden" name="name[]"> ... <input type="file" name="image[]"><input type="hidden" name="name[]"> <input type="submit" value="Upload!"> </form> -------- upload-test.php: <?php echo sizeof($image); echo "<br>"; echo sizeof($name); ?> -------- If there are more than N file fields, it will crash. On my machine N=26, even if the form is submitted empty. -- Edit bug report at: http://bugs.php.net/?id=14201&edit=1

« previous php.dev (#71499) next »