php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13910 PHP hangs up while loading incorrect jpg file
Submitted: 2001-11-02 15:59 UTC Modified: 2001-12-24 10:14 UTC
From: amuelle1 at gmx dot de Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: Linux, Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: amuelle1 at gmx dot de
New email:
PHP Version: OS:

 

 [2001-11-02 15:59 UTC] amuelle1 at gmx dot de
If I load an incorrect jpe File with ImageCreateFromJPEG that PHP often hags up. Sometimes until I kill it or it's terminating after timeout.

Simply try this witch a defect jpg-file:
for ($i=0;$i<20;$i++) { if ($img=@ImageCreateFromJPEG("x.jpg")) { ImageDestroy($img); } }

For nessesary furtur information please contact me.

regards
Andreas Mueller

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-02 16:00 UTC] derick@php.net
Post a like to that broken picture please

Derick
 [2001-11-02 16:09 UTC] amuelle1 at gmx dot de
A broken Image (manualy broken but very "good") can be found at http://www.universalware.de/x.jpg

With this picture php hangs up permanent.

regards
Andreas Mueller
 [2001-12-03 02:34 UTC] derick@php.net
I can not reproduce this with either php-4.1.0RC4 or php-4.2.0dev, can you try the RC4 from http://www.php.net/~zeev/php-4.1.0RC4.tar.gz and report back?

Derick
 [2001-12-24 10:14 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC