#37346 [Com]: gd have a danger bug

From: Date: Sun, 07 May 2006 06:51:04 +0000
Subject: #37346 [Com]: gd have a danger bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96757@lists.php.net to get a copy of this message
ID: 37346 Comment by: cnstudentmail at Gmail dot com Reported By: zq dot hkrcn at gmail dot com Status: Open Bug Type: GD related Operating System: Windows 2000 PHP Version: 5.1.4 New Comment: i have the same problem. i think it's a very danger bug because a lots of server is using gd. Previous Comments: ------------------------------------------------------------------------ [2006-05-07 06:42:53] zq dot hkrcn at gmail dot com Description: ------------ gd (ver 2.0.28) have a danger bug a error image can pass php's test but it would make a fatal error other question:Could you tell me if you deal with bug report in Chinese? i'm chinese my english is very poor here's the bug report in Chinese: &#24403;&#26377;&#24694;&#24847;&#30340;&#29992;&#25143;&#25552;&#20132;&#19968;&#20010;&#38169;&#35823;&#30340;&#22270;&#20687;&#25991;&#20214; &#36825;&#20010;&#25991;&#20214;&#30340;&#25991;&#20214;&#22836;&#26159;&#27491;&#30830;&#30340;&#65292;&#20294;&#20027;&#20307;&#26159;&#38169;&#35823;&#30340;&#65292;&#27809;&#26377;&#32467;&#26463; &#25552;&#20132;&#19978;&#21435;&#20197;&#21518;&#65292;&#23601;&#20250;&#24341;&#36215; php &#30340;&#33268;&#21629;&#38169;&#35823; www &#26381;&#21153;&#20250;&#20572;&#27490; &#21478;&#22806;&#38382;&#19968;&#19979;&#65306;&#29992;&#20013;&#25991;&#25253;&#21578;&#20250;&#19981;&#20250;&#22788;&#29702;&#30340;&#65311; Reproduce code: --------------- <?php $file = 'http://dev.hkrcn.com/testimg.gif'; $im = imagecreatefromgif($file); // here a fatal error Expected result: ---------------- cause a error,then stop running Actual result: -------------- memory-leak ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37346&edit=1

« previous php.bugs (#96757) next »