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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC