#30658 [NEW]: Temporary files are not deleted
From: RajivK at Pollit dot com
Operating system: Linux (Debian Stable)
PHP version: 4.3.9
PHP Bug Type: GD related
Bug description: Temporary files are not deleted
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.
--
Edit bug report at http://bugs.php.net/?id=30658&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30658&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30658&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30658&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30658&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30658&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30658&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30658&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30658&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30658&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30658&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30658&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30658&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30658&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30658&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30658&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30658&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30658&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30658&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30658&r=mysqlcfg
Thread (2 messages)
- RajivK at Pollit dot com