summaryrefslogtreecommitdiff
path: root/contributed/libfuzzer-onig.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-08-07 09:32:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-08-07 09:32:54 +0200
commit1fb4b2b100d76cfa362cd021760b7cc0038cf55d (patch)
tree2443bfdda69965757d8ce335cda1a28bb7327834 /contributed/libfuzzer-onig.cpp
parentb134093d75235a90f09ff591137aed9dbdad6e89 (diff)
parent40f3d0030e6e98bcb02d6523e5ee48497dec49a6 (diff)
Update upstream source from tag 'upstream/6.9.3'
Update to upstream version '6.9.3' with Debian dir 0b54db06b48ebf22a6090f21e4dcc045a1085e11
Diffstat (limited to 'contributed/libfuzzer-onig.cpp')
-rw-r--r--contributed/libfuzzer-onig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/contributed/libfuzzer-onig.cpp b/contributed/libfuzzer-onig.cpp
index e137b73..526c826 100644
--- a/contributed/libfuzzer-onig.cpp
+++ b/contributed/libfuzzer-onig.cpp
@@ -29,6 +29,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * Data, size_t Size)
#ifdef FULL_TEST
onig_initialize(&enc, 1);
+ 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,