ID: 36726 Updated by: [EMAIL PROTECTED] Reported By: christoph at ziegenberg dot com -Status: Open +Status: Assigned Bug Type: GD related Operating System: Suse Linux 9.3 PHP Version: 5.1.2 Assigned To: pajoye
Previous Comments: ------------------------------------------------------------------------ [2006-03-18 18:40:55] christoph at ziegenberg dot com I uploaded the images and a testscript. Look here: http://www.ziegenberg.com/jpegbug/ ------------------------------------------------------------------------ [2006-03-13 22:59:31] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Please give us an image to reproduce your problem. ------------------------------------------------------------------------ [2006-03-13 22:37:23] christoph at ziegenberg dot com Description: ------------ Using imagecreatefromjpeg() lets PHP crash without an error message. also using @imagecreatefromjpeg() doesn't help - it's not possible to check the returning value. I the user comments a user already described problems with jpegs created by "Canon PowerShot S70", my image (uploaded by a user) was created by a "Canon PowerShot A400". So this seems to be the problem. It worked on my Windows XP without any problem, but on Suse it crashed... Reproduce code: --------------- I'll ask the user to upload the picture here. Then simply call imagecreatefromjpeg() with this image. Expected result: ---------------- No crash, but an error message and an empty return value. Actual result: -------------- Crash ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36726&edit=1
