ID:               33220
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at pureftpd dot org
-Status:           Open
+Status:           Assigned
 Bug Type:         GD related
 Operating System: any
 PHP Version:      5.0.4
-Assigned To:      
+Assigned To:      pajoye


Previous Comments:
------------------------------------------------------------------------

[2005-06-02 15:11:16] phpbugs at pureftpd dot org

Description:
------------
The following (invalid) picture triggers an infinite loop  
in gdImageCreateFromGif() with 100% CPU usage.  
  
Tested on Linux and OpenBSD, PHP4 with GD 1 and PHP5 with 
built-in GD. 

Reproduce code:
---------------
<?php
imagecreatefromgif('kaboom-gd.gif');
?>

Get kaboom-gd.gif from ftp://ftp.00f.net/misc/kaboom-gd.gif


Expected result:
----------------
No 100% CPU usage. 

Actual result:
--------------
100% CPU usage, infinite loop. 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33220&edit=1

Reply via email to