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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danbeck at dealnews dot com
New email:
PHP Version: OS:

 

 [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: Wed May 01 10:01:30 2024 UTC