summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-14 12:11:45 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-14 12:24:57 +0100
commit304e1938362636eeebc5f94d424ecbc4e9cd7072 (patch)
treef23dd81bf92bc60609e3ab321593ff4fa64c0184 /LICENSE
parentb68509569edbc02e12cbd0311357ab84e386e385 (diff)
downloadserenity-304e1938362636eeebc5f94d424ecbc4e9cd7072.zip
LibJS: Fix some issues in RegExp.prototype[@@match]
- We were not passing the to_string()'d argument to the exec function but the original argument - We were leaking an empty value in two cases, which almost certainly will crash something down the line - We were not checking for exceptions after to_string() and get(), which both may throw. If the getter is an accessor, it'll assert upon being called with the VM already storing an exception.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions