#46379 [Ver->Csd]: Infinite loop when parsing '#' in one line file.
ID: 46379
Updated by: lbarnaud@php.net
Reported By: marek dot miska at netart dot pl
-Status: Verified
+Status: Closed
Bug Type: CGI related
Operating System: *
PHP Version: 5.2CVS-2008-10-24 (only!)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-10-24 15:39:18] jani@php.net
verified with current PHP_5_2, not present in PHP_5_3 or HEAD.
------------------------------------------------------------------------
[2008-10-24 12:26:35] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46379&edit=1
Thread (3 messages)