Bug #68716 [Opn->Ver]: possible resource leaks in _php_image_convert()

From: Date: Sun, 21 Aug 2016 16:21:29 +0000
Subject: Bug #68716 [Opn->Ver]: possible resource leaks in _php_image_convert()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203456@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68716&edit=1 ID: 68716 Updated by: cmb@php.net Reported by: bugreports at internot dot info -Summary: memleaks +Summary: possible resource leaks in _php_image_convert() -Status: Open +Status: Verified Type: Bug Package: GD related Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2015-01-02 (Git) -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Confirmed. However, in _php_image_convert[1] org and dest are FILE *s, so I'd call it "resource leaks" instead. [1] <https://github.com/php/php-src/blob/PHP-7.0.10/ext/gd/gd.c#L4011-L4189> Previous Comments: ------------------------------------------------------------------------ [2015-01-02 08:34:29] bugreports at internot dot info Description: ------------ Memleaks in /ext/gd/gd.c: 4470 RETURN_FALSE; 4490 RETURN_FALSE; 4497 RETURN_FALSE; 4531 RETURN_FALSE; 4543 RETURN_FALSE; 4549 RETURN_FALSE; 4555 RETURN_FALSE; leaks 'dest'. and in the same file.. 4497 RETURN_FALSE; 4462 RETURN_FALSE; leaks 'org' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68716&edit=1

« previous php.bugs (#203456) next »