DoS: Infinite loop processing 2.2250738585072011e-308
Bug #697181 reported by
Paul Sladen
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Debian) |
Fix Released
|
Unknown
|
|||
php5 (Fedora) |
Fix Released
|
Medium
|
|||
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Steve Beattie | ||
Maverick |
Fix Released
|
Undecided
|
Steve Beattie | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5
Processing certain textual forms of MAX_FLOAT leads to an infinite loop/hang/DoS:
php -r "print 2.2250738585072
hangs indefinitely, whereas:
php -r "print 2.2250738585072
returns immediately.
Confirmed for natty/php5-
Fixed in new upstream releases:
http://
http://
visibility: | private → public |
description: | updated |
Changed in php5 (Ubuntu Maverick): | |
status: | New → Confirmed |
Changed in php5 (Ubuntu Lucid): | |
status: | New → Incomplete |
description: | updated |
Changed in php5 (Ubuntu Maverick): | |
assignee: | nobody → Steve Beattie (sbeattie) |
Changed in php5 (Ubuntu Lucid): | |
assignee: | nobody → Steve Beattie (sbeattie) |
description: | updated |
Changed in php5 (Debian): | |
status: | Unknown → Fix Released |
Changed in php5 (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Confirmed on Ubuntu 10.10+ 32bit
php --version
PHP 5.3.3-1ubuntu9.1 with Suhosin-Patch (cli) (built: Oct 15 2010 14:17:04)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.31, Copyright (c) 2007-2010, by SektionEins GmbH
see also: www.exploringbi nary.com/ php-hangs- on-numeric- value-2- 225073858507201 1e-308/
http://