diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-23 16:34:53 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-23 16:34:53 +0000 |
commit | 764692f9aea9eab50fdba6cb537441d8b34c6c37 (patch) | |
tree | edc0f07f19313559184df27b44110404332ba078 /testdata | |
parent | b45b5bd01bae6b9eefc2e4326876cd08ca96a1e4 (diff) | |
download | pcre-764692f9aea9eab50fdba6cb537441d8b34c6c37.tar.gz |
Fix buffer overflow for forward reference within backward assertion with excess
closing parenthesis. Bugzilla 1651.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1571 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 2 | ||||
-rw-r--r-- | testdata/testoutput2 | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 904660f..f8fd249 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4180,4 +4180,6 @@ backtracking verbs. --/ /^(?:(?(1)x|)+)+$()/BZ +/(?=di(?<=(?1))|(?=(.))))/ + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 54685fa..c39d5e6 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14486,4 +14486,7 @@ Matched, but too many substrings End ------------------------------------------------------------------ +/(?=di(?<=(?1))|(?=(.))))/ +Failed: unmatched parentheses at offset 23 + /-- End of testinput2 --/ |