[Webkit-unassigned] [Bug 203230] New: Fix incorrect assertion in operationRegExpExecNonGlobalOrSticky().
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 21 18:19:15 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=203230
Bug ID: 203230
Summary: Fix incorrect assertion in
operationRegExpExecNonGlobalOrSticky().
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
operationRegExpExecNonGlobalOrSticky() was asserting no exception when createRegExpMatchesArray() returns null. createRegExpMatchesArray() only returns null when RegExp::matchInline() returns -1. The only way RegExp::matchInline() can return -1 is via a throwError() helper which throws an exception. The other return path in RegExp::matchInline() explicitly ASSERT(result >= -1).
Hence, the assertion in operationRegExpExecNonGlobalOrSticky() is wrong.
<rdar://problem/56460749>
--
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/20191022/df30da03/attachment.html>
More information about the webkit-unassigned
mailing list