diff --git a/pcre-8.36-Fix-bug-when-there-are-unset-groups-prior-to-ACCEPT-.patch b/pcre-8.36-Fix-bug-when-there-are-unset-groups-prior-to-ACCEPT-.patch index fd5cc6c..13eb08d 100644 --- a/pcre-8.36-Fix-bug-when-there-are-unset-groups-prior-to-ACCEPT-.patch +++ b/pcre-8.36-Fix-bug-when-there-are-unset-groups-prior-to-ACCEPT-.patch @@ -9,36 +9,9 @@ Content-Transfer-Encoding: 8bit git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1510 2f5784b3-3f2a-0410-8824-cb99058d5e15 Signed-off-by: Petr Písař ---- - ChangeLog | 12 ++++++++++++ - pcre_exec.c | 13 ++++++++++++- - testdata/testinput1 | 3 +++ - testdata/testoutput1 | 9 +++++++++ - 4 files changed, 36 insertions(+), 1 deletion(-) -diff --git a/ChangeLog b/ChangeLog -index 8abdfb5..06da1c4 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,6 +1,18 @@ - ChangeLog for PCRE - ------------------ - -+Version 8.37 xx-xxx-201x -+------------------------ -+ -+1. When an (*ACCEPT) is triggered inside capturing parentheses, it arranges -+ for those parentheses to be closed with whatever has been captured so far. -+ However, it was failing to mark any other groups between the hightest -+ capture so far and the currrent group as "unset". Thus, the ovector for -+ those groups contained whatever was previously there. An example is the -+ pattern /(x)|((*ACCEPT))/ when matched against "abcd". -+ -+ -+ - Version 8.36 26-September-2014 - ------------------------------ - +Petr Pisar: Ported to 8.36 + diff --git a/pcre_exec.c b/pcre_exec.c index 654eb9e..fdf7067 100644 --- a/pcre_exec.c