summaryrefslogtreecommitdiff
path: root/harnesses/libfuzzer-onig.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:04 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:04 +0200
commitdb6f38bc1b73930f1da954525464cf1986f43a28 (patch)
treea7f25f79866ee08431779445dc925373eafda070 /harnesses/libfuzzer-onig.cpp
parent98f7065a3f7b386564840bb5b24b94f9335b2e97 (diff)
New upstream version 6.9.8upstream/6.9.8
Diffstat (limited to 'harnesses/libfuzzer-onig.cpp')
-rw-r--r--harnesses/libfuzzer-onig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/harnesses/libfuzzer-onig.cpp b/harnesses/libfuzzer-onig.cpp
index 526c826..52a6848 100644
--- a/harnesses/libfuzzer-onig.cpp
+++ b/harnesses/libfuzzer-onig.cpp
@@ -29,9 +29,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * Data, size_t Size)
#ifdef FULL_TEST
onig_initialize(&enc, 1);
+#endif
onig_set_retry_limit_in_match(120);
onig_set_parse_depth_limit(120);
-#endif
if (onig_new(&reg, Data, Data + Size, ONIG_OPTION_DEFAULT, enc,
ONIG_SYNTAX_DEFAULT, 0) == 0)