summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-02-09 18:55:03 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-02-09 18:55:03 +0000
commit8546a4442ddba4fa7ac6143f8c88ebce46fa3dd2 (patch)
treeac1a23f96b3b5d2671387e4e066486bbb88fa16e /testdata
parent4cb4c9cc746011f77bb8d1b6f5a8480b86e4c8ee (diff)
downloadpcre-8546a4442ddba4fa7ac6143f8c88ebce46fa3dd2.tar.gz
Implement pcre_stack_guard.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1454 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput28
-rw-r--r--testdata/testoutput210
2 files changed, 18 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index c1b1db1..71df1a8 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4050,5 +4050,13 @@ backtracking verbs. --/
/abcd/f<lf>
xx\nxabcd
+
+/ -- Test stack check external calls --/
+
+/(((((a)))))/Q0
+
+/(((((a)))))/Q1
+
+/(((((a)))))/Q
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index e3e2f58..e9d3265 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14134,5 +14134,15 @@ Start of matched string is beyond its end - displaying from end to start.
/abcd/f<lf>
xx\nxabcd
No match
+
+/ -- Test stack check external calls --/
+
+/(((((a)))))/Q0
+
+/(((((a)))))/Q1
+Failed: parentheses are too deeply nested (stack check) at offset 0
+
+/(((((a)))))/Q
+** Missing 0 or 1 after /Q
/-- End of testinput2 --/