diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-05-15 17:17:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-05-15 17:17:03 +0000 |
commit | 4b79af6b4cbeb5326ae5e4d83f3e935e00286c19 (patch) | |
tree | 2af0774e6b0a60d89c2495f414fb681954ea39cc /testdata | |
parent | 67286d4e31be9cdeef981955efbdf6ec9da53f42 (diff) | |
download | pcre-4b79af6b4cbeb5326ae5e4d83f3e935e00286c19.tar.gz |
Fix buffer overflow for named recursive back reference when the name is
duplicated.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1558 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 2 | ||||
-rw-r--r-- | testdata/testoutput2 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index b7cec5a..5eb4a33 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4166,4 +4166,6 @@ backtracking verbs. --/ /(((?(R)){0,2}) (?''((?'X')((?'R')))))/ +"(?J)(?'d'(?'d'\g{d}))" + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index dcc4380..47f6dc9 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14454,4 +14454,6 @@ Failed: reference to non-existent subpattern at offset 26 /(((?(R)){0,2}) (?''((?'X')((?'R')))))/ +"(?J)(?'d'(?'d'\g{d}))" + /-- End of testinput2 --/ |