[Webkit-unassigned] [Bug 191731] New: RegExp operations should not take fast patch if lastIndex is not numeric.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 18:11:14 PST 2018


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

            Bug ID: 191731
           Summary: RegExp operations should not take fast patch if
                    lastIndex is not numeric.
           Product: WebKit
           Version: WebKit 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

This is because if lastIndex is an object with a valueOf() method, it can execute arbitrary code and side effects not permitted by the RegExp fast paths.

<rdar://problem/46017305>

-- 
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/20181116/ea933b94/attachment.html>


More information about the webkit-unassigned mailing list