[Webkit-unassigned] [Bug 19517] New: DOM modification of textArea causes Access Violation (NULL pointer?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 12 04:25:08 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19517

           Summary: DOM modification of textArea causes Access Violation
                    (NULL pointer?)
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://skypher.com/SkyLined/Repro/Safari/019a3239%20NULL
                    /repro.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: berendjanwever at gmail.com


I found that the following javascript causes an Access Violation. This appears
to be a NULL pointer:

<BODY onload="go()"><SCRIPT>
    function go() {
        document.body.parentElement.removeChild(document.body);
        o = document.createElement("textArea");
        o.innerHTML='<b><menu><link></b><head></head>x';
    }
</SCRIPT></BODY>

Tested with Safari 3.1.1.

Marked as security, I'm not sure if you treat DoS as a security issue, so
erring on the safe side.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list