[Webkit-unassigned] [Bug 127177] New: Yarr interpreter reports non-match instead of throwing when bailing out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 17 09:55:47 PST 2014


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

           Summary: Yarr interpreter reports non-match instead of throwing
                    when bailing out
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: https://bugzilla.mozilla.org/show_bug.cgi?id=953013
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: till at tillschneidereit.net
                CC: bzbarsky at mit.edu


The Yarr interpreter contains a limit on how many attempts are made to match disjunctions. When this limit is reached, a bailout with JSRegExpErrorHitLimit happens. This bubbles up and is returned as the result of JSC::Yarr::interpret, the caller of which treats it the same as JSRegExpNoMatch.

In SpiderMonkey, we changed things to throw an exception in this case; see the patch in the linked bug.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list