[Webkit-unassigned] [Bug 131704] Simple ES6 feature:String prototype additions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 03:25:38 PDT 2014


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





--- Comment #33 from Diego Pino <dpino at igalia.com>  2014-09-02 03:25:41 PST ---
(In reply to comment #32)

> Agree. But I think the last 'if' should check if the sum of matchString.length() + startOffset() is lower than matchString.length() or startOffset. 

I was thinking only of an overflow case, but this checking is still valid. In addition to it, I suggest to add a check for an overflow case.

-- 
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