[Webkit-unassigned] [Bug 187042] RegExp.exec returns wrong value with a long integer quantifier

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 1 09:38:25 PDT 2018


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

--- Comment #5 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 344050
  --> https://bugs.webkit.org/attachment.cgi?id=344050
Fix tests

View in context: https://bugs.webkit.org/attachment.cgi?id=344050&action=review

> Source/JavaScriptCore/yarr/YarrParser.h:987
> +            n = n * 10 + nextDigit;

Let’s just use Checked<unsigned> for n

-- 
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/20180701/c606e3f4/attachment.html>


More information about the webkit-unassigned mailing list