Bug #13910 Updated: PHP hangs up while loading incorrect jpg file

From: Date: Mon, 03 Dec 2001 07:34:17 +0000
Subject: Bug #13910 Updated: PHP hangs up while loading incorrect jpg file
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72307@lists.php.net to get a copy of this message
ID: 13910 Updated by: derick Reported By: amuelle1@gmx.de Old Status: Open Status: Feedback Bug Type: GD related Operating System: Linux, Win32 PHP Version: 4.0.6 New Comment: I can not reproduce this with either php-4.1.0RC4 or php-4.2.0dev, can you try the RC4 from http://www.php.net/~zeev/php-4.1.0RC4.tar.gz and report back? Derick Previous Comments: ------------------------------------------------------------------------ [2001-11-02 16:09:58] amuelle1@gmx.de A broken Image (manualy broken but very "good") can be found at http://www.universalware.de/x.jpg With this picture php hangs up permanent. regards Andreas Mueller ------------------------------------------------------------------------ [2001-11-02 16:00:55] derick@php.net Post a like to that broken picture please Derick ------------------------------------------------------------------------ [2001-11-02 15:59:23] amuelle1@gmx.de If I load an incorrect jpe File with ImageCreateFromJPEG that PHP often hags up. Sometimes until I kill it or it's terminating after timeout. Simply try this witch a defect jpg-file: for ($i=0;$i<20;$i++) { if ($img=@ImageCreateFromJPEG("x.jpg")) { ImageDestroy($img); } } For nessesary furtur information please contact me. regards Andreas Mueller ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13910&edit=1

« previous php.dev (#72307) next »