#49034 [NEW]: Infinite loop with corrupted gif in ImageCreateFromgif

From: Date: Thu, 23 Jul 2009 12:41:29 +0000
Subject: #49034 [NEW]: Infinite loop with corrupted gif in ImageCreateFromgif
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140125@lists.php.net to get a copy of this message
From: joce at doctissimo dot fr Operating system: debian etch x86-64 PHP version: 5.2.10 PHP Bug Type: GD related Bug description: Infinite loop with corrupted gif in ImageCreateFromgif 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 bug report at http://bugs.php.net/?id=49034&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49034&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49034&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49034&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49034&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49034&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49034&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49034&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49034&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49034&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49034&r=support Expected behavior: http://bugs.php.net/fix.php?id=49034&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49034&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49034&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49034&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49034&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49034&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49034&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49034&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49034&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49034&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49034&r=mysqlcfg

« previous php.bugs (#140125) next »