Skip to content

Commit 8a50ae0

Browse files
committed
updating to pcre-8.43
1 parent 124fa21 commit 8a50ae0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1515
-975
lines changed

Changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Version Changes for Hypermail
44
HYPERMAIL VERSION 2.4.0:
55
============================
66

7+
2019-11-19 Jose Kahan
8+
* src/pcre
9+
Upgraded to upstream version 8.43. This fixes some autoconf issues we
10+
had on newer debian releases. This is only relevant for people that
11+
are not linking against a system libpcre.
12+
713
2018-12-07 Jose Kahan
814
* If the antispamdomain config option was used, hypermail was replacing
915
everything following a "@" character by the antispam domain. This fix

src/pcre/AUTHORS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Email domain: cam.ac.uk
88
University of Cambridge Computing Service,
99
Cambridge, England.
1010

11-
Copyright (c) 1997-2018 University of Cambridge
11+
Copyright (c) 1997-2019 University of Cambridge
1212
All rights reserved
1313

1414

@@ -19,7 +19,7 @@ Written by: Zoltan Herczeg
1919
Email local part: hzmester
2020
Emain domain: freemail.hu
2121

22-
Copyright(c) 2010-2018 Zoltan Herczeg
22+
Copyright(c) 2010-2019 Zoltan Herczeg
2323
All rights reserved.
2424

2525

@@ -30,7 +30,7 @@ Written by: Zoltan Herczeg
3030
Email local part: hzmester
3131
Emain domain: freemail.hu
3232

33-
Copyright(c) 2009-2018 Zoltan Herczeg
33+
Copyright(c) 2009-2019 Zoltan Herczeg
3434
All rights reserved.
3535

3636

src/pcre/ChangeLog

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@ Note that the PCRE 8.xx series (PCRE1) is now in a bugfix-only state. All
55
development is happening in the PCRE2 10.xx series.
66

77

8+
Version 8.43 23-February-2019
9+
-----------------------------
10+
11+
1. Some time ago the config macro SUPPORT_UTF8 was changed to SUPPORT_UTF
12+
because it also applies to UTF-16 and UTF-32. However, this change was not made
13+
in the pcre2cpp files; consequently the C++ wrapper has from then been compiled
14+
with a bug in it, which would have been picked up by the unit test except that
15+
it also had its UTF8 code cut out. The bug was in a global replace when moving
16+
forward after matching an empty string.
17+
18+
2. The C++ wrapper got broken a long time ago (version 7.3, August 2007) when
19+
(*CR) was invented (assuming it was the first such start-of-pattern option).
20+
The wrapper could never handle such patterns because it wraps patterns in
21+
(?:...)\z in order to support end anchoring. I have hacked in some code to fix
22+
this, that is, move the wrapping till after any existing start-of-pattern
23+
special settings.
24+
25+
3. "pcre2grep" (sic) was accidentally mentioned in an error message (fix was
26+
ported from PCRE2).
27+
28+
4. Typo LCC_ALL for LC_ALL fixed in pcregrep.
29+
30+
5. In a pattern such as /[^\x{100}-\x{ffff}]*[\x80-\xff]/ which has a repeated
31+
negative class with no characters less than 0x100 followed by a positive class
32+
with only characters less than 0x100, the first class was incorrectly being
33+
auto-possessified, causing incorrect match failures.
34+
35+
6. If the only branch in a conditional subpattern was anchored, the whole
36+
subpattern was treated as anchored, when it should not have been, since the
37+
assumed empty second branch cannot be anchored. Demonstrated by test patterns
38+
such as /(?(1)^())b/ or /(?(?=^))b/.
39+
40+
7. Fix subject buffer overread in JIT when UTF is disabled and \X or \R has
41+
a greater than 1 fixed quantifier. This issue was found by Yunho Kim.
42+
43+
8. If a pattern started with a subroutine call that had a quantifier with a
44+
minimum of zero, an incorrect "match must start with this character" could be
45+
recorded. Example: /(?&xxx)*ABC(?<xxx>XYZ)/ would (incorrectly) expect 'A' to
46+
be the first character of a match.
47+
48+
9. Improve MAP_JIT flag usage on MacOS. Patch by Rich Siegel.
49+
50+
851
Version 8.42 20-March-2018
952
--------------------------
1053

src/pcre/LICENCE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Email domain: cam.ac.uk
2525
University of Cambridge Computing Service,
2626
Cambridge, England.
2727

28-
Copyright (c) 1997-2018 University of Cambridge
28+
Copyright (c) 1997-2019 University of Cambridge
2929
All rights reserved.
3030

3131

@@ -34,9 +34,9 @@ PCRE JUST-IN-TIME COMPILATION SUPPORT
3434

3535
Written by: Zoltan Herczeg
3636
Email local part: hzmester
37-
Emain domain: freemail.hu
37+
Email domain: freemail.hu
3838

39-
Copyright(c) 2010-2018 Zoltan Herczeg
39+
Copyright(c) 2010-2019 Zoltan Herczeg
4040
All rights reserved.
4141

4242

@@ -45,9 +45,9 @@ STACK-LESS JUST-IN-TIME COMPILER
4545

4646
Written by: Zoltan Herczeg
4747
Email local part: hzmester
48-
Emain domain: freemail.hu
48+
Email domain: freemail.hu
4949

50-
Copyright(c) 2009-2018 Zoltan Herczeg
50+
Copyright(c) 2009-2019 Zoltan Herczeg
5151
All rights reserved.
5252

5353

0 commit comments

Comments
 (0)