summaryrefslogtreecommitdiff
path: root/src/pcre2.h.in
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-04-22 12:39:38 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-04-22 12:39:38 +0000
commita38f1e7eb827408133178ffac9987157d82edaa2 (patch)
treef22ee85db4366e13b24bed7639914d0f0b47e82b /src/pcre2.h.in
parent79529e844054073c79292854e9ad6dab5410593d (diff)
downloadpcre2-a38f1e7eb827408133178ffac9987157d82edaa2.tar.gz
Implement a check on the number of capturing parentheses, which for some reason
has never existed. This fixes ClusterFuzz issue 14376. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1088 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2.h.in')
-rw-r--r--src/pcre2.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcre2.h.in b/src/pcre2.h.in
index 9415d70..29f3688 100644
--- a/src/pcre2.h.in
+++ b/src/pcre2.h.in
@@ -305,6 +305,7 @@ pcre2_pattern_convert(). */
#define PCRE2_ERROR_INVALID_HYPHEN_IN_OPTIONS 194
#define PCRE2_ERROR_ALPHA_ASSERTION_UNKNOWN 195
#define PCRE2_ERROR_SCRIPT_RUN_NOT_AVAILABLE 196
+#define PCRE2_ERROR_TOO_MANY_CAPTURES 197
/* "Expected" matching error codes: no match and partial match. */