Skip to content

Commit dccf1af

Browse files
committed
disable recurseloop check in fuzzer
1 parent 789be03 commit dccf1af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pcre2_fuzzsupport.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ reason to disallow UTF and UCP. Force PCRE2_NEVER_BACKSLASH_C to be set because
281281

282282
compile_options = ((random_options >> 32) & ALLOWED_COMPILE_OPTIONS) |
283283
PCRE2_NEVER_BACKSLASH_C;
284-
match_options = (((uint32_t)random_options) & ALLOWED_MATCH_OPTIONS) | PCRE2_NO_JIT;
284+
match_options = (((uint32_t)random_options) & ALLOWED_MATCH_OPTIONS) |
285+
PCRE2_NO_JIT |
286+
PCRE2_DISABLE_RECURSELOOP_CHECK;
285287

286288
/* Discard partial matching if PCRE2_ENDANCHORED is set, because they are not
287289
allowed together and just give an immediate error return. */

0 commit comments

Comments
 (0)