php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22829 ImageCreateFromJpeg with uncomplete jpeg -> Apache 2 or IIS -> taking 99% CPU
Submitted: 2003-03-22 14:05 UTC Modified: 2003-03-22 18:36 UTC
From: fbn79 at libero dot it Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.0 OS: winxp pro
Private report: No CVE-ID: None
 [2003-03-22 14:05 UTC] fbn79 at libero dot it
when i call ImageCreateFromJpeg( uploadedfile ) over an
uncomplete jpeg file sometimes ( not all times, about 60% of the tests function correctly return FALSE ) the funtion fail to load image and apache (or IIS) take 99% cpu until system hang.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-22 18:36 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Sep 28 03:05:53 2022 UTC