[Webkit-unassigned] [Bug 23049] New: [jsfunfuzz] With blocks do not correctly protect their scope object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 30 21:23:13 PST 2008


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

           Summary: [jsfunfuzz] With blocks do not correctly protect their
                    scope object
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
OtherBugsDependingO 13638
             nThis:


JSFunFuzz found this

with(1){gc();a;}

Which crashes as the scope object (1->toObject()) is not protected by the
registerfile as is expected.  Looking into this i also found that we would not
correctly protect the scope when local variables are usedfor scope, as in:
var z; with(z={}){z=null; {}; {}; [1,2,3,4*{}]; gc(); b}


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