6.0.0-beta1
8/9/25

[#2969] Infinite loop in Flowed.php
Summary Infinite loop in Flowed.php
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester lbroda (at) uiuc (dot) edu
Created 11/14/2005 (7208 days ago)
Due
Updated 11/19/2005 (7203 days ago)
Assigned 11/15/2005 (7207 days ago)
Resolved 11/19/2005 (7203 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/19/2005 05:37:44 AM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
well, this works for me and I added a test to Flowed.phpt for this 
specific case and it works there too.
11/15/2005 07:44:57 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Try what I just committed.
11/14/2005 07:34:32 PM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
11/14/2005 05:56:08 PM lbroda (at) uiuc (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Infinite loop in Flowed.php
Queue ⇒ Horde Framework Packages
New Attachment: problem.txt Download
Reply to this comment
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.


Saved Queries