Commit ceca93b8 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Fix correctness-fuzzer suppression.

Bug: chromium:1044942
Change-Id: I7442d26c37b8f14886bfee0eb82c8c94a9aeeb85
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2016594Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65947}
parent ca217776
......@@ -902,12 +902,11 @@ bool RegExpImpl::Compile(Isolate* isolate, Zone* zone, RegExpCompileData* data,
}
}
if (FLAG_correctness_fuzzer_suppressions &&
strncmp(result.error_message, "Stack overflow", 15) == 0) {
FATAL("Aborting on stack overflow");
}
if (result.error_message != nullptr) {
if (FLAG_correctness_fuzzer_suppressions &&
strncmp(result.error_message, "Stack overflow", 15) == 0) {
FATAL("Aborting on stack overflow");
}
data->error =
isolate->factory()->NewStringFromAsciiChecked(result.error_message);
}
......
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