php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55989 readimage freeze when reading garbage files
Submitted: 2004-02-16 20:03 UTC Modified: 2005-10-23 09:17 UTC
From: hal_robertson at yahoo dot com Assigned: mcmontero (profile)
Status: No Feedback Package: imagick (PECL)
PHP Version: 4.3.3 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-02-16 20:03 UTC] hal_robertson at yahoo dot com
Description:
------------
I created a simple file with a .gif extension, and filled it with about 20 random characters I typed in on the keyboard.  Upon calling imagick_readimage with the path to that file, my apache 2.0.46 process consumed all available cpu until it killed the child thread.  Sometimes, the cpu didn't go crazy, but most of the time it does.

When I use normal image files, even if the extensions are wrong, it does not freeze.  



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-01 10:12 UTC] chregu@php.net
please try the latest release (0.9.9)
 [2005-10-23 09:17 UTC] mike@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 02:01:23 2019 UTC