php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8915 zero length file created on file upload with no file, temp file is not deleted
Submitted: 2001-01-25 15:56 UTC Modified: 2001-01-25 19:58 UTC
From: danbeck at dealnews dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.3pl1 OS: linux 2.2.x (redhat 6.2)
Private report: No CVE-ID: None
 [2001-01-25 15:56 UTC] danbeck at dealnews dot com
If you attempt to post a multipart/form-data form without supplying a file in the browser, php creates a zero length temp file, but does not remove it after script execution.

Form Example:

<FORM ACTION="index.php" METHOD="post" ENCTYPE="multipart/form-data">
<INPUT TYPE="file" NAME="file">
</FORM>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-25 19:58 UTC] sniper@php.net
This is fixed in PHP 4.0.4pl1.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC