[Tickets #2969] NEW: Infinite loop in Flowed.php
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Nov 14 09:56:09 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2969
-----------------------------------------------------------------------
Ticket | 2969
Created By | lbroda at uiuc.edu
Summary | Infinite loop in Flowed.php
Queue | Horde Framework Packages
Version | FRAMEWORK_3
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
+New Attachment | problem.txt
-----------------------------------------------------------------------
lbroda at uiuc.edu (2005-11-14 09:56) wrote:
A line of the form in the attachment (spaces, followed by ">", followed by
many non-space characters) puts Flowed.php into an infinite loop at line
234. The pattern match at line 247 returns an empty string in $m[1], and
the original line (though multiple leading spaces are replaced by one) in
$m[2]. Since $m[2] is then assigned to $line, an infinite loop results, and
the httpd process grows infinitely larger while eating up CPU.
More information about the bugs
mailing list