Skip to content

Commit 0c92eb3

Browse files
committed
ignore callout errors
1 parent 75880a3 commit 0c92eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pcre2_fuzzsupport.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ for (i = 0; i < 2; i++)
342342
if (errorcode_jit != errorcode)
343343
{
344344
if (!(errorcode < 0 && errorcode_jit < 0) &&
345-
errorcode != PCRE2_ERROR_MATCHLIMIT &&
346-
errorcode_jit != PCRE2_ERROR_MATCHLIMIT && errorcode_jit != PCRE2_ERROR_JIT_STACKLIMIT)
345+
errorcode != PCRE2_ERROR_MATCHLIMIT && errorcode != PCRE2_ERROR_CALLOUT &&
346+
errorcode_jit != PCRE2_ERROR_MATCHLIMIT && errorcode_jit != PCRE2_ERROR_JIT_STACKLIMIT && errorcode_jit != PCRE2_ERROR_CALLOUT)
347347
{
348348
describe_failure("match errorcode comparison", data, size, compile_options, match_options, errorcode, errorcode_jit, matches, matches_jit, match_data, match_data_jit, match_context);
349349
}

0 commit comments

Comments
 (0)