Edit report at https://bugs.php.net/bug.php?id=52212&edit=1
ID: 52212
Comment by: alexey at zhilchikov dot ru
Reported by: phpbug at cano dot sk
Summary: ImageCreateFromJPEG crashes web server when
incorrect image format provided
Status: Open
Type: Bug
Package: GD related
Operating System: Windows XP
PHP Version: 5.3.2
Block user comment: N
Private report: N
New Comment:
OS: OpenSuSE Linux 11.3
PHP: 5.3.3, 5.3.2
Apache: 2.2
imagecreatefromjpeg() crashes apache always, not only with invalid JPEG file.
Previous Comments:
------------------------------------------------------------------------
[2010-12-29 18:25:17] [email protected]
@alex at phpguide dot co dot il
Use VC9 builds.
------------------------------------------------------------------------
[2010-12-29 18:10:58] alex at phpguide dot co dot il
Applies to PHP 5.3.4 & Apache 2.2.17
Appears critical, especially on virtual hosts.
------------------------------------------------------------------------
[2010-06-30 23:28:49] [email protected]
For an immediate fix you can use the VC9 version of apache and php. Fetch
Apache at http://apachelounge.com.
------------------------------------------------------------------------
[2010-06-30 22:50:49] phpbug at cano dot sk
Apache/2.2.11 (Win32) PHP/5.3.2
apache2handler
------------------------------------------------------------------------
[2010-06-30 22:35:39] [email protected]
Sounds like it happens only with the 5.3 VC6 versions of our builds. Which
webserver and SAPI do you use?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=52212
--
Edit this bug report at https://bugs.php.net/bug.php?id=52212&edit=1