Closed Bug 299355 Opened 19 years ago Closed 19 years ago

comlete COMPUTER FREEZE if Firefox tries to allocate memory for BIG images

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 289864

People

(Reporter: paulgfx, Unassigned)

References

()

Details

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

This code crash the computer when I open in firefox. It seems that it tries to
allocate memory for 9999999x9999999 image. The jpg. is a regular jpeg file.
<HTML>
  <BODY>
    <IMG SRC="./imagecrash.jpg" width="9999999" height="9999999"><BR>
   Test   
  </BODY>
</HTML>


Reproducible: Always

Steps to Reproduce:
1. open  http://ha.ckers.org/imagecrash.html of the above example
(After few seconds the computer crash)
Actual Results:  
Complete computer freeze. Need reboot.

Expected Results:  
To know that 999..99x99...999 image is too big to fit in memory and to refuse to
open it.

*** This bug has been marked as a duplicate of 289864 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.