Commit Graph

223 Commits

Author SHA1 Message Date
Lukas Javorsky
a5b9257eb7 Fix an issue with restoring originally unset entries in recursion
Upstream commits:
794245ecc2
457c0e69a8

Resolves: BZ#2248133
2023-11-09 12:59:11 +00:00
Fedora Release Engineering
697a0c375e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 18:50:54 +00:00
Lukas Javorsky
eb13367c2f migrated to SPDX license 2023-03-27 10:04:51 +00:00
Fedora Release Engineering
1b3e0d1c47 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 23:33:14 +00:00
Lukas Javorsky
7ce0eda6d7 Rebase to version 10.42
Update sources location (moved to Github)
RISC-V is now JIT enabled according to: https://github.com/PCRE2Project/pcre2/issues/14

Resolves: #2151744
2023-01-13 14:34:34 +00:00
Fedora Release Engineering
64221b097e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 02:52:42 +00:00
Lukas Javorsky
31ffa6c819 Rebase to version 10.40
Resolves: #2077986 #2077987
2022-04-26 12:19:45 +00:00
Fedora Release Engineering
4dcebab5a8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 23:04:02 +00:00
Lukas Javorsky
ea996aee28 Rebase to the 10.39 2021-11-04 14:25:23 +01:00
Lukas Javorsky
737a3bc920 Rebase to 10.38
Patch 1 upstreamed
2021-10-05 15:40:33 +02:00
Lukas Javorsky
f5aba26dbb Fix invalid single character repetition in JIT
Resolves: BZ#1985484
Upstream patch (r1315)
2021-07-27 13:01:29 +02:00
Fedora Release Engineering
ecae2a266d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 17:52:04 +00:00
Lukas Javorsky
160c07e964 Revert "Soname bump of libpcre2-posix.so"
This reverts commit ee71bafded.

We don't need to backport the old library, everything is built agains
the new one
2021-07-15 11:05:39 +02:00
Lukas Javorsky
afe5411c37 Release bump 2021-07-14 10:36:41 +02:00
Lukas Javorsky
ee71bafded Soname bump of libpcre2-posix.so
This includes copying the old libpcre2-posix.so.2* and
providing it for backward compatibility
We can revert this commit after rebuilding all packages against
the new libpcre2-posix.so.3* library
2021-07-13 11:36:18 +02:00
Lukas Javorsky
dcbd350b44 Rebase to the 10.37
Resolves: rhbz#1970765, BZ#1965025
libpcre2-posix.so.2* SONAME bump to libpcre2-posix.so.3*
Enable JIT for s390x arch
Patches upstreamed: Patch 1,2,3,4
2021-06-17 11:54:59 +02:00
Michal Schorm
b130986b93 Revert "Rebase to the 10.37"
This reverts commit 3824b8258a.

---

The soname bump was unintended.
We are looking forward to untag the resulting build from Rawhide
2021-06-16 13:41:43 +02:00
Lukas Javorsky
3824b8258a Rebase to the 10.37
Resolves: rhbz#1970765
libpcre2-posix.so.2* renamed to libpcre2-posix.so.3*
Patches upstreamed: Patch 1,2,3,4
2021-06-16 11:42:25 +02:00
Petr Písař
9038664a69 Restore single character repetition optimization in JIT 2021-02-19 16:12:08 +01:00
Petr Písař
223b0aaf60 Fix a mismatch if \K was involved in a recursion 2021-02-19 16:06:34 +01:00
Petr Písař
0c6f2eb02b Fix misparsing long numbers as a backreference and a number without a closing bracket as a quantifier 2021-02-02 08:44:18 +01:00
Fedora Release Engineering
85a7d55043 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 23:06:08 +00:00
Petr Písař
876d98e64a Fix a possible NULL pointer dereference in auto_possessify() 2021-01-15 09:18:27 +01:00
Petr Písař
aabb9e2f5a 10.36 bump 2020-12-15 13:48:05 +01:00
Petr Písař
7ea7e7a347 10.36-RC1 bump 2020-11-09 13:22:44 +01:00
Petr Písař
8a057ba535 Fix a partial matching for a word boundary in JIT mode 2020-10-27 14:04:39 +01:00
Petr Písař
aefe0df10c Fix matching a character set when JIT is enabled and both Unicode script and Unicode class are present 2020-09-21 12:52:00 +02:00
Petr Písař
3841a80996 Fix a mismatch when caselessly searching in an invalid UTF-8 text and a start optimization is enabled 2020-09-16 10:17:16 +02:00
Petr Písař
f1ea46e427 Fix escaping test data and only allow slash delimiter after perltest pragma 2020-09-16 10:02:17 +02:00
Petr Písař
bade53dd5d Fix escaping test data 2020-09-14 14:13:51 +02:00
Fedora Release Engineering
88ac25e9e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 13:19:16 +00:00
Petr Písař
a85bd9b307 Fix an early fail optimization with character ranges and a buffer overread in JIT 2020-07-15 09:45:34 +02:00
Petr Písař
011f6e20f2 Fix a buffer overread when parsing an unterminated VERSION condition with a single-digit minor number at the end of a regular expression 2020-07-15 09:41:13 +02:00
Petr Písař
2a84c20cef Fix an infinite loop when a single-byte newline is search in JIT if an invalid UTF-8 mode is enabled 2020-06-02 16:37:33 +02:00
Petr Písař
2208fa9576 Enable shadow stack built-in functions if -fcf-protection compiler flag is used by patching a build script 2020-05-27 10:16:00 +02:00
Petr Písař
ada450ea80 10.35 bump 2020-05-11 15:09:32 +02:00
Petr Písař
10541593ba Fix a compiler warning about -1 index 2020-04-27 09:58:48 +02:00
Petr Písař
fd76a4dea0 10.35-RC1 bump 2020-04-16 10:12:38 +02:00
Petr Písař
9ac84d2682 Fix a JIT compilation of the Unicode scripts in the extended character classes 2020-03-23 12:56:16 +01:00
Petr Písař
c19a902799 Make manual pages about pattern syntax available when the library is installed 2020-03-16 19:05:04 +01:00
Petr Písař
51e6a76e15 Fix compiling a lookbehind when preceded by a DEFINE 2020-03-16 18:10:55 +01:00
Petr Písař
0ea51b6558 Fix computing an offest for the start of the UTF-16 error when a high surrogate is not followed by a valid low surrogate 2020-03-16 17:56:04 +01:00
Petr Písař
00b42ec03c Fix a crash in JIT when an invalid UTF-8 charater is encountered in match_invalid_utf mode 2020-02-20 09:23:53 +01:00
Petr Písař
c956d6b889 Correct a typo in a log 2020-02-17 14:44:32 +01:00
Petr Písař
d62998c89c Fix restoring a verb chaing list when exiting a JIT-compiled recursive function 2020-02-17 14:26:49 +01:00
Fedora Release Engineering
2234bf1ad0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 21:06:01 +00:00
Petr Písař
6cc8347f99 Prevent from a stack exhaustion when studying a pattern for nested groups by putting a limit of 1000 recursive calls 2020-01-27 13:53:34 +01:00
Petr Písař
6b7a3ed56a Fix processing (?(DEFINE)...) within look-behind assertions 2020-01-27 13:49:52 +01:00
Petr Písař
ebe70d35d6 Ensure a newline after the final line in a file is output by pcre2grep 2020-01-27 13:41:37 +01:00
Petr Písař
d7a3f4e85f Fix a memory leak when allocating a JIT stack fails 2020-01-27 13:35:38 +01:00