Red Hat Bugzilla – Bug 234689
/bin/ed in endless loop when searching for pattern in last line
Last modified: 2007-11-30 17:12:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20070220 Firefox/188.8.131.52
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.echo a >test
100% of CPU.
This bug was not in FC5.
Bug still exists in ed-0.6, I've reported it upstream.
Fix looks easy as there's a missing check to exit a do-while loop, but I'll
wait for confirmation before I push new packages.
fixed in ed-0.7-1.fc7 and ed-0.7-1.fc8
ed-0.7-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.