|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-16 14:42 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 07:00:01 2025 UTC |
Description: ------------ Im actually using XAMPP 1.7.2 with php 5.3.0. Using imagecreatefromjpeg('file.jpg') on an empty file, hangs and then crashes the apache server. The file.jpg is created by 'right click->new text document' and then renamed to 'file.jpg' so its empty. Reproduce code: --------------- <?php imagecreatefromjpeg('emptyfile.jpg'); ?> Expected result: ---------------- Get an image resource or false on failure Actual result: -------------- Apache crashes