|  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
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.  


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-01 10:12 UTC]
please try the latest release (0.9.9)
 [2005-10-23 09:17 UTC]
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 09:01:29 2024 UTC