Infinite loop when parsing '#' in one line file.
| Bug #46379 | Infinite loop when parsing '#' in one line file. | ||||
|---|---|---|---|---|---|
| Submitted: | 2008-10-24 12:26 UTC | Modified: | 2008-11-03 23:39 UTC | ||
| From: | marek dot miska at netart dot pl | Assigned: | |||
| Status: | Closed | Package: | CGI/CLI related | ||
| PHP Version: | 5.2CVS-2008-10-24 (only!) | OS: | * | ||
| Private report: | No | CVE-ID: | None | ||
[2008-10-24 12:26 UTC] marek dot miska at netart dot pl
Description: ------------ Given one line script starting with "#" and without end line character, php enters infinite loop. Reproduce code: --------------- #and no new line Expected result: ---------------- empty output Actual result: -------------- Infinite loop.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2008-10-24 15:39 UTC] jani@php.net
[2008-11-03 23:39 UTC] lbarnaud@php.net