ID: 28639 Comment by: thegobot at gmail dot com Reported By: jim at bluedojo dot com Status: No Feedback Bug Type: GD related Operating System: Windows XP PHP Version: 4.3.7 New Comment:
imagecreatefromgif("img.gif"); Child process of Apache usage 95% CPU and infinite loop The img.gif is corrupt Previous Comments: ------------------------------------------------------------------------ [2005-03-09 23:12:32] ericvanblokland at gmail dot com PS: how do I re-open this bug? ------------------------------------------------------------------------ [2005-03-09 23:11:50] ericvanblokland at gmail dot com I've experienced this bug with latest stable php5 release. However, I do not believe the gif is corrupted, just odd formated (which you may very well call corrupt if you like). Due to the fact most programs just read these gifs whatsoever, as well as create them, our "stupid" customers will continue using them. Would be nice to be able to work with them or rejecting them without timeing out the script. ------------------------------------------------------------------------ [2005-01-22 01:00:08] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-01-14 18:51:50] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Can not reproduce. ------------------------------------------------------------------------ [2004-06-18 17:15:21] scottmacvicar at ntlworld dot com Problem is in GetDataBlock_ it doesn't even return -1 so constantly loops within the end code handling part of LWZReadByte_ while ((count = GetDataBlock(fd, buf)) > 0) is the loop in question in libgd/gd_gif_in.c I dont have enough time to see whats wrong with that function but its there its looping. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28639 -- Edit this bug report at http://bugs.php.net/?id=28639&edit=1