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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC