summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-06-08 17:55:54 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-06-08 17:55:54 +0000
commit2de04da37bc9ec8f3ec74378839e5bfa7283ea1c (patch)
tree2b7610a840f8a592554e6885ecc07fad63d8c8ca /testdata
parent225f0d5eb16c7a26591a1e3f286c7476907b5a6a (diff)
downloadpcre-2de04da37bc9ec8f3ec74378839e5bfa7283ea1c.tar.gz
Add integer overflow check to (?n) code.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1563 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput22
-rw-r--r--testdata/testoutput23
2 files changed, 5 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index c7301e5..1561da4 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4173,4 +4173,6 @@ backtracking verbs. --/
"(?J:(?|(?'R')(\k'R')|((?'R'))))"
+/(?<=|(\,\$(?73591620449005828816)\xa8.{7}){6}\x09)/
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index bf52c02..6b78021 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14461,4 +14461,7 @@ Failed: reference to non-existent subpattern at offset 26
"(?J:(?|(?'R')(\k'R')|((?'R'))))"
+/(?<=|(\,\$(?73591620449005828816)\xa8.{7}){6}\x09)/
+Failed: number is too big at offset 32
+
/-- End of testinput2 --/