Add missing exception check in RegExpObjectInlines.h's collectMatches.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2018 18:53:34 +0000 (18:53 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2018 18:53:34 +0000 (18:53 +0000)
commitf4625b4589539eb72916c5e9a946e90c1f204658
tree47e712f805f76d08baaa520aa29716cc1d7d07bd
parent5b492a5c249fe81971c92ca82e2f91e3d92ef0d8
Add missing exception check in RegExpObjectInlines.h's collectMatches.
https://bugs.webkit.org/show_bug.cgi?id=187006
<rdar://problem/41418412>

Reviewed by Keith Miller.

JSTests:

* stress/regress-187006.js: Added.

Source/JavaScriptCore:

* runtime/RegExpObjectInlines.h:
(JSC::collectMatches):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/stress/regress-187006.js [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/RegExpObjectInlines.h