[Webkit-unassigned] [Bug 142883] New: eval("this.foo") causes a crash if this had not been initialized in a derived class's constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 15:52:07 PDT 2015


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

            Bug ID: 142883
           Summary: eval("this.foo") causes a crash if this had not been
                    initialized in a derived class's constructor
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: fpizlo at apple.com, ggaren at apple.com, joepeck at webkit.org
            Blocks: 140491

new (class extends class {} {
    constructor() {
        eval("this.foo");
        super();
    }
}

new B;
print("PASS");

results in a crash because we fail to emit a TDZ check.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150319/ee911023/attachment-0002.html>


More information about the webkit-unassigned mailing list