From 4d10ecc5c3af5ddd08b98c70c00d1e6a120d864e Mon Sep 17 00:00:00 2001 From: ph10 Date: Sun, 26 Jan 2020 15:31:27 +0000 Subject: Fix bug in processing (?(DEFINE)...) within lookbehind assertions. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1212 6239d852-aaf2-0410-a92c-79f79f948069 --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ffe653f..cab65e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -48,6 +48,14 @@ the minimum. 13. In pcre2grep, if the final line in a scanned file is output but does not end with a newline sequence, add a newline according to the --newline setting. +14. (?(DEFINE)...) groups were not being handled correctly when checking for +the fixed length of a lookbehind assertion. Such a group within a lookbehind +should be skipped, as it does not contribute to the length of the group. +Instead, the (DEFINE) group was being processed, and if at the end of the +lookbehind, that end was not correctly recognized. Errors such as "lookbehind +assertion is not fixed length" and also "internal error: bad code value in +parsed_skip()" could result. + Version 10.34 21-November-2019 ------------------------------ -- cgit v1.2.1