[Webkit-unassigned] [Bug 19519] New: DOM modification causes stack exhaustion (BUTTON OBJECT COLGROUP)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 12 08:19:10 PDT 2008


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

           Summary: DOM modification causes stack exhaustion (BUTTON OBJECT
                    COLGROUP)
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://skypher.com/SkyLined/Repro/Safari/Stack%20exhaust
                    ion%20BUTTON%20OBJECT%20COLGROUP/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 a stack exhaustion:

<BODY onload="go()"><SCRIPT>
    function go() {
                oButton=document.createElement('button');
                document.body.appendChild(oButton);
                oButton.outerHTML='';
                oButton.innerHTML='<object>x<colGroup></colGroup></object>';
                document.body.insertAdjacentElement('beforeBegin', oButton);
    }
</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.

Stack exhaustion appears to be in WebKit!JSValueMakeNull. This may be the same
bug as 19514 and/or 19515


-- 
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