Bug 189165 - GD temp files are not deleted
Summary: GD temp files are not deleted
Keywords:
Status: CLOSED DUPLICATE of bug 182719
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: php
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-17 19:17 UTC by Martin Sarsale
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-14 15:41:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
PHP Bug Tracker 30658 0 None None None Never

Description Martin Sarsale 2006-04-17 19:17:22 UTC
From php tracker:

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.

Comment 1 Joe Orton 2006-12-14 15:31:43 UTC
Can you give a reproduction case for this temporary file leak?  A temporary file
leak was fixed in php-4.3.9-3.10 and later in the GIF output paths; perhaps this
was the bug in question.

Comment 2 Martin Sarsale 2006-12-14 15:37:58 UTC
yes, I think it was
someone answer that in IRC like 8 months ago.
thanks anyway

Comment 3 Joe Orton 2006-12-14 15:41:43 UTC
Thanks; sorry for the slow response.

*** This bug has been marked as a duplicate of 182719 ***


Note You need to log in before you can comment on or make changes to this bug.