Commit 4dde7646 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[foozzie] Add another abort on regexp stack overflow

Bug: chromium:1055060
Change-Id: I9fd06642ba47d1452b33b0e97715dd2e64943c6c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2083027Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66529}
parent e91ccc43
...@@ -3607,6 +3607,9 @@ class Analysis : public NodeVisitor { ...@@ -3607,6 +3607,9 @@ class Analysis : public NodeVisitor {
void EnsureAnalyzed(RegExpNode* that) { void EnsureAnalyzed(RegExpNode* that) {
StackLimitCheck check(isolate()); StackLimitCheck check(isolate());
if (check.HasOverflowed()) { if (check.HasOverflowed()) {
if (FLAG_correctness_fuzzer_suppressions) {
FATAL("Analysis: Aborting on stack overflow");
}
fail("Stack overflow"); fail("Stack overflow");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment