Closed Bug 1561977 Opened 7 years ago Closed 7 years ago

unending server-side code loop results in firefox and windows becoming unresponsive

Categories

(Firefox :: Untriaged, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

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.

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.

Flags: needinfo?(vjamesburt)

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.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.