#37360 [Bgs->Opn]: imageCreateFromGIF have a memory-leak bug
| From: | cnteacher at discuz dot com | Date: | Mon, 08 May 2006 08:36:38 +0000 |
| Subject: | #37360 [Bgs->Opn]: imageCreateFromGIF have a memory-leak bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96804@lists.php.net to get a copy of this message | ||
ID: 37360
User updated by: cnteacher at discuz dot com
Reported By: cnteacher at discuz dot com
-Status: Bogus
+Status: Open
Bug Type: GD related
Operating System: win32/*nix
PHP Version: 5CVS-2006-05-08 (snap)
New Comment:
I regret that you see it like that.
Did you have a test of my file?
I've already read bug #37346 , and got the newest version GD from
http://snaps.php.net/ ( Stable 5.2.x-dev Built On: May 08, 2006
06:30
GMT ). But, when I test it with the special file, my server was down.
Previous Comments:
------------------------------------------------------------------------
[2006-05-08 08:19:22] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Dup of bug #37346
------------------------------------------------------------------------
[2006-05-08 08:16:49] judas dot iscariote at gmail dot com
duplicated of http://bugs.php.net/bug.php?id=37346
already fixed in CVS
------------------------------------------------------------------------
[2006-05-08 05:59:03] cnteacher at discuz dot com
Sorry.
If you get an Forbidden error,
you must visit www.freediscuz.net first, and than type the file's url
in brower.
------------------------------------------------------------------------
[2006-05-08 05:44:44] cnteacher at discuz dot com
The test gif url
http://www.freediscuz.net/tools/specialgif.zip
------------------------------------------------------------------------
[2006-05-08 05:40:23] cnteacher at discuz dot com
Description:
------------
When I use the function 'imageCreateFromGIF' with some special images
(GIF), the memory will be ran out. I test it with all GD version (above
2.0.28).
Reproduce code:
---------------
$file = 'specialimg.gif';
$im = imagecreatefromgif($file);
Expected result:
----------------
the memory ran out, and my web server is down.
Actual result:
--------------
I put the special gif file on my friend's web, you can download it from
http://www.freediscuz.net/specialgif.zip.
I think some one can use this bug to attack web server. It's so danger.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37360&edit=1