Bug 23680

Summary: WREC strange handling of very large minimum repetitions
Product: WebKit Reporter: Erik Corry <erikcorry>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: barraclough
Priority: P2 Keywords: HasReduction, InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
URL: javascript:alert(/a{11111111111111111111}/.test("a"))

Description Erik Corry 2009-02-02 02:20:47 PST
Probably some sort of overflow issue:

/a{11111111111111111111}/.test("a")

expected result false
actual result true

Pre-WREC this would give a parse error, which also seems fair enough.  The boundary was 65535/6.
Comment 1 Mark Rowe (bdash) 2009-02-02 03:02:18 PST
<rdar://problem/6547279>
Comment 2 Gavin Barraclough 2011-08-25 15:19:02 PDT
This works correctly in Yarr.