Closed Bug 610640 Opened 14 years ago Closed 12 years ago

JavaScript while(1){} kills firefox

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows Vista
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: peter.poetzi, Unassigned)

References

()

Details

(Whiteboard: [sg:dos])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

When a while(1){} happens Firefox crashes!

Reproducible: Always

Steps to Reproduce:
Go to this site: http://peterp.brandlehner.at/ffbug.html
Actual Results:  
Firefox is dead

Expected Results:  
Firefox should ask for stopping this script

All tabs are away
A DOS attack , does not need to stay hidden.
Group: core-security
Whiteboard: dupme
(In reply to comment #0)
> Go to this site: http://peterp.brandlehner.at/ffbug.html

> Firefox should ask for stopping this script

It does ask, after 4-5 seconds.
Version: unspecified → 3.6 Branch
Whiteboard: dupme → [sg:dos]
If I go to http://peterp.brandlehner.at/ffbug.html with the current nightly on OS X 10.7.3, I see no DOS or other bad behavior.

Firefox is responsive and works fine.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.