|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
12 + 10 = ?
Subscribe to this entry?

 [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-2021 The PHP Group
All rights reserved.
Last updated: Sun Jun 13 16:01:48 2021 UTC