Actions
Bug #4067
closed[PATCH] Fix SystemStackError when trying to format a large block of text in REXML
Description
=begin
REXML::Formatters::Pretty#wrap used a recursive method call to format text. This patch switches it to use an iterative approach. It includes a test case exposing the error.
This issue isn't theoretical, it happens when using rcov with Sequel's test suite.
Tested on 1.9.2p0, but patch is against trunk.
=end
Files
Updated by kou (Kouhei Sutou) about 14 years ago
- Assignee set to kou (Kouhei Sutou)
- Target version set to 2.0.0
=begin
=end
Updated by kou (Kouhei Sutou) about 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r29827.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0