ID:               50494
 Updated by:       [email protected]
 Reported By:      dejangex at yahoo dot com
-Status:           Open
+Status:           Bogus
-Bug Type:         Reproducible crash
+Bug Type:         GD related
 Operating System: Windows XP Professional x64 SP2
-PHP Version:      5.3SVN-2009-12-16 (SVN)
+PHP Version:      5.3.0
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




Previous Comments:
------------------------------------------------------------------------

[2009-12-16 14:23:41] dejangex at yahoo dot com

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50494&edit=1

Reply via email to