summaryrefslogtreecommitdiff
path: root/doc/pcre2_dfa_match.3
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-30 10:42:57 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-30 10:42:57 +0000
commitd7dc5d608f73e8fe3e6463806604fb29ce06fb3d (patch)
tree1eb5130cf8bfb0a5832a942527f9648104da62c7 /doc/pcre2_dfa_match.3
parent0515c1f47a8f604fd13c2593f02cb7bf08fc06a8 (diff)
downloadpcre2-d7dc5d608f73e8fe3e6463806604fb29ce06fb3d.tar.gz
Make pcre2_dfa_match() take notice of the match limit, to catch patterns that
use too much resource. This should fix oss-fuzz 1761. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@815 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2_dfa_match.3')
-rw-r--r--doc/pcre2_dfa_match.37
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/pcre2_dfa_match.3 b/doc/pcre2_dfa_match.3
index 17ed86e..32a22c8 100644
--- a/doc/pcre2_dfa_match.3
+++ b/doc/pcre2_dfa_match.3
@@ -1,4 +1,4 @@
-.TH PCRE2_DFA_MATCH 3 "04 April 2017" "PCRE2 10.30"
+.TH PCRE2_DFA_MATCH 3 "30 May 2017" "PCRE2 10.30"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
@@ -34,8 +34,9 @@ just once (except when processing lookaround assertions). This function is
\fIwscount\fP Number of elements in the vector
.sp
For \fBpcre2_dfa_match()\fP, a match context is needed only if you want to set
-up a callout function or specify the recursion depth limit. The \fIlength\fP
-and \fIstartoffset\fP values are code units, not characters. The options are:
+up a callout function or specify the match and/or the recursion depth limits.
+The \fIlength\fP and \fIstartoffset\fP values are code units, not characters.
+The options are:
.sp
PCRE2_ANCHORED Match only at the first position
PCRE2_ENDANCHORED Pattern can match only at end of subject