unending server-side code loop results in firefox and windows becoming unresponsive
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: vjamesburt, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
created PHP code with an unending loop:
$fistr = "line 1 \r\n line 2";
$sep = "\r\n";
$line = strtok($fistr, $sep);
while ($line !== false ) {
echo "<p>LINE: ".$line."</p>";
I forgot the following line which resulted in unending loop
$line = strtok($sep);
}
Actual results:
Firefox, then Windows 10 became unresponsive. Could not even break with Alt-=ctl-delete.
Expected results:
I would have hoped Firefox would have crashed with an error.
Comment 1•7 years ago
|
||
Hi Jim,
I've created a file with your code and opened it in FF but I wasn't able to reproduce the bug. Could you attach me the file that you used, please? with header and all?
Thanks in advance, Flor.
Comment 2•7 years ago
|
||
Hi Jim,
I'm marking this as Resolved-Incomplete due to lack of response. If the issue is still reproducible with the latest Firefox version, feel free to reopen the bug with more information.
Best regards, Flor.
Description
•