summaryrefslogtreecommitdiff
path: root/testdata/testinput1
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-10-29 16:58:38 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-10-29 16:58:38 +0000
commit3e7c0f7d4d797ade557568e703241230d0456a92 (patch)
treebfd8bb90eab6d793b179ded6d9c995f599859d09 /testdata/testinput1
parent1e460a50640cebab6fd2679a2e1149dff82a0838 (diff)
downloadpcre2-3e7c0f7d4d797ade557568e703241230d0456a92.tar.gz
Fix oss-fuzz bugs 3852 and 3891 (same bug); mis-closing external captures by
*ACCEPT inside assertions. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@876 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput1')
-rw-r--r--testdata/testinput110
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1
index 611a88c..756b4af 100644
--- a/testdata/testinput1
+++ b/testdata/testinput1
@@ -6149,4 +6149,14 @@ ef) x/x,mark
/[[:digit:]-]+/
12-24
+/((?<=((*ACCEPT)) )\1?\b) /
+\= Expect no match
+ ((?<=((*ACCEPT)) )\\1?\\b)\x20
+
+/((?<=((*ACCEPT))X)\1?Y)\1/
+ XYYZ
+
+/((?<=((*ACCEPT))X)\1?Y(*ACCEPT))\1/
+ XYYZ
+
# End of testinput1