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

From: Date: Fri, 02 Nov 2001 21:00:55 +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-69545@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: *Graphics related Operating System: Linux, Win32 PHP Version: 4.0.6 New Comment: Post a like to that broken picture please Derick Previous Comments: ------------------------------------------------------------------------ [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 (#69545) next »