Bug #52212 [Com]: ImageCreateFromJPEG crashes web server when incorrect image format provided

From: Date: Mon, 12 Mar 2012 20:01:51 +0000
Subject: Bug #52212 [Com]: ImageCreateFromJPEG crashes web server when incorrect image format provided
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168383@lists.php.net to get a copy of this message
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] pajoye@php.net

@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] pajoye@php.net

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] pajoye@php.net

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


Thread (9 messages)

« previous php.bugs (#168383) next »