[Webkit-unassigned] [Bug 138476] New: slow_path_get_direct_pname() needs to be hardened against a constant baseValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 6 14:53:26 PST 2014


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

            Bug ID: 138476
           Summary: slow_path_get_direct_pname() needs to be hardened
                    against a constant baseValue
    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: mark.lam at apple.com

CommonSlowPath's slow_path_get_direct_pname() currently assumes that the baseValue is always a non-constant register.  However, this is not always the case like in the following:

    function foo() {
        var o = { a:1 };
        for (var n in o)
            0[n];
    };
    foo();

<rdar://problem/18495847>

-- 
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/20141106/76397aff/attachment-0002.html>


More information about the webkit-unassigned mailing list