Bug #73161 [Asn->Csd]: imagecreatefromgd2() may leak memory
| From: | cmb@php.net | Date: | Sat, 24 Sep 2016 10:57:33 +0000 |
| Subject: | Bug #73161 [Asn->Csd]: imagecreatefromgd2() may leak memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204236@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73161&edit=1
ID: 73161
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: imagecreatefromgd2() may leak memory
-Status: Assigned
+Status: Closed
Type: Bug
Package: GD related
Operating System: *
PHP Version: 5.6Git-2016-09-24 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8f5eda4bf62ca0e1ba6459b42fb5c0b629774cb2
Log: Fix #73161: imagecreatefromgd2() may leak memory
Previous Comments:
------------------------------------------------------------------------
[2016-09-24 10:05:46] cmb@php.net
Description:
------------
If the color header of a GD2 image can't be read,
gdimagecreatefromgd2() fails to free a t_chunk_info structure,
causing a memory leak.
I don't think this is a security issue, as the GD2 format is not
supposed to be used for production purposes anyway, see
<https://libgd.github.io/release-2.2.2.html>.
FTR: this issue has been fixed as of libgd 2.1.0.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73161&edit=1