Closed
Bug 284073
Opened 20 years ago
Closed 20 years ago
FIREFOX flaws: nested array sort() loop ; Stack overflow exception
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 281968
People
(Reporter: dhaval_joshi30, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0
The following example will cause the browser to crash:
<HTML>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
</HTML>
when this script is executed all the opened browsers are getting closed and the
browser getting crashed.
we get some information from developer websites that MICROSOFT INTERNET EXPLORER
dosn't get problem with this code.,but we had tested that IT IS ALSO AFFECTED
with the same code.
Reproducible: Always
Steps to Reproduce:
1.Make a simlpe web page by coping the above code only.
2.Then run the page with any web browser including firefox,MS Internet Explorer,etc
3.To have perfect checking before runing the page open other browsers.
Actual Results:
All the browsers of same type will be closed and the browser is getting crashed.
Expected Results:
Browser should close only the affected window, should not close the other opened
pages.
Comment 1•20 years ago
|
||
The exact same testcase is already reported, please search before you file a bug. *** This bug has been marked as a duplicate of 281968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: FIREFOX flaws: nested array sort() loop ; Stack overflow exception → FIREFOX flaws: nested array sort() loop ; Stack overflow exception
You need to log in
before you can comment on or make changes to this bug.
Description
•