#49034 [Opn->Bgs]: Infinite loop with corrupted gif in ImageCreateFromgif

From: Date: Thu, 23 Jul 2009 13:27:13 +0000
Subject: #49034 [Opn->Bgs]: Infinite loop with corrupted gif in ImageCreateFromgif
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140126@lists.php.net to get a copy of this message
ID: 49034 Updated by: pajoye@php.net Reported By: joce at doctissimo dot fr -Status: Open +Status: Bogus Bug Type: GD related Operating System: debian etch x86-64 PHP Version: 5.2.10 New Comment: Not sure you are actually using 5.2.10 with bunlded GD, but it does work fine here. I would suggest to do not use Debian's package for php or at least not for gd. Not a PHP bug. Previous Comments: ------------------------------------------------------------------------ [2009-07-23 12:41:28] joce at doctissimo dot fr Description: ------------ When doing an ImageCreateFromgif on an invalid gif, php enters in an infinite loop Reproduce code: --------------- <?php ImageCreateFromgif('http://club.doctissimo.fr/static/big-14261284cc.gif'); ?> Expected result: ---------------- return FALSE Actual result: -------------- Infinite loop ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49034&edit=1

« previous php.bugs (#140126) next »