diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-07-05 15:49:37 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-07-05 15:49:37 +0000 |
commit | 725f182ea59646c75652effbec4d4dff3847a48b (patch) | |
tree | 16eb6a2788112a43345fd548dd9212d7c14dcdf0 /testdata | |
parent | a012c4a430d1dd7df5f4249e6d60fd39dfc1320e (diff) | |
download | pcre2-725f182ea59646c75652effbec4d4dff3847a48b.tar.gz |
Additional overflow test.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1127 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 4 | ||||
-rw-r--r-- | testdata/testoutput2 | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 251d625..a38c3b2 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -5647,6 +5647,10 @@ a)"xI /(?<=(?<=a)b)(?<!abcd)(?<=(?<=a)bcde)/I +# Addition overflow /( {32742} {42})(?<!\1{65481})/ +# Multiplication overflow +/(X{65535})(?<=\1{32770})/ + # End of testinput2 diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 9096fc3..b5e44f5 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -17078,9 +17078,14 @@ Max lookbehind = 5 May match empty string Subject length lower bound = 0 +# Addition overflow /( {32742} {42})(?<!\1{65481})/ Failed: error 187 at offset 15: lookbehind assertion is too long +# Multiplication overflow +/(X{65535})(?<=\1{32770})/ +Failed: error 187 at offset 10: lookbehind assertion is too long + # End of testinput2 Error -70: PCRE2_ERROR_BADDATA (unknown error number) Error -62: bad serialized data |