summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-06-09 16:46:52 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-06-09 16:46:52 +0000
commitb5c4f0f2bef3a0dff74e4de806b8b5280bb666c0 (patch)
tree124b7f97770ac44b7c5f3a8e956e0c88bd306d3d /testdata
parent851af6faeda1df4db6977f60b8f7f8abd72dc6c5 (diff)
downloadpcre-b5c4f0f2bef3a0dff74e4de806b8b5280bb666c0.tar.gz
Fix overflow when ovector has size 1.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1565 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput23
-rw-r--r--testdata/testoutput24
2 files changed, 7 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index 1561da4..d70f68d 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4175,4 +4175,7 @@ backtracking verbs. --/
/(?<=|(\,\$(?73591620449005828816)\xa8.{7}){6}\x09)/
+//
+\O1
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index 6b78021..5013f64 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14464,4 +14464,8 @@ Failed: reference to non-existent subpattern at offset 26
/(?<=|(\,\$(?73591620449005828816)\xa8.{7}){6}\x09)/
Failed: number is too big at offset 32
+//
+\O1
+Matched, but too many substrings
+
/-- End of testinput2 --/