php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30658 Temporary files are not deleted
Submitted: 2004-11-02 11:16 UTC Modified: 2004-11-02 17:43 UTC
From: RajivK at Pollit dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.9 OS: Linux (Debian Stable)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: RajivK at Pollit dot com
New email:
PHP Version: OS:

 

 [2004-11-02 11:16 UTC] RajivK at Pollit dot com
Description:
------------
A temprorary file is create in gd.c line 1667.  This file is never deleted.  Today I found 10 thousand files in /tmp on each server.

A comment on line 1720 says 

"the temporary file is automatically deleted" 

However, this is not the case.  I can't find any code anywhere that would delete the tmp file.  I also checked the lastest cvs. 

Fix: 

I fixed the problem by rolling back to gd.c version 1.221.2.44 which works for me. 









Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-02 17:43 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 15 15:01:25 2021 UTC