Commit Graph

219 Commits

Author SHA1 Message Date
Petr Písař
8fca0ec056 Correct spec release number 2020-01-13 11:44:15 +01:00
Petr Písař
d5f3ce6f00 Fix a typo in a spec comment 2020-01-13 11:38:37 +01:00
Petr Písař
6431485ab5 Fix a crash in JITted code when a *THEN verb is used in a lookahead assertion 2020-01-13 11:38:14 +01:00
Petr Písař
6632bdc8b3 Rename pcre-10.34-Use-PCRE2_MATCH_EMPTY-flag-to-detect-empty-matches-i.patch 2019-12-09 11:20:51 +01:00
Petr Písař
025df07b34 Fix a crash in pcre2_jit_compile when passing a NULL code argument 2019-12-09 11:20:50 +01:00
Petr Písař
4313812067 Fix JIT to respect NOTEMPTY options 2019-11-28 15:07:08 +01:00
Petr Písař
a392626e04 10.34 bump 2019-11-22 13:27:49 +01:00
Petr Písař
1ee52c43e8 Fix optimized caseless matching of non-ASCII characters in assertions 2019-11-18 12:48:52 +01:00
Petr Písař
821dd3e84c fix_a_loop_in_neon_arm64_jit.patch accepted by the upstream 2019-11-12 14:25:21 +01:00
Petr Písař
6a3622c7f2 10.34-RC2 bump 2019-11-11 16:33:46 +01:00
Petr Písař
db0a3cc7dd 10.34-RC1 bump 2019-10-30 09:45:12 +01:00
Petr Písař
96360c9835 Link an upstream bug report for the thread-safeness in regexec() 2019-10-30 08:48:08 +01:00
Petr Písař
7302af99cc Fix thread-safeness in regexec() 2019-10-29 17:25:05 +01:00
Petr Písař
74b9e8096b Fix a use after free when freeing JIT memory 2019-10-29 17:06:41 +01:00
Petr Písař
166ed27379 Fix a crash in JIT match when a subject has a zero length and an invalid pointer 2019-09-09 10:28:37 +02:00
Petr Písař
5ac0055475 Readd a fix for a mismatch with a lookbehind within a lookahead within a lookbehind and fix the regression in matching a lookbehind after a condition 2019-08-27 11:38:32 +02:00
Petr Písař
304ae352fc Revert a fix for a mismatch with a lookbehind within a lookahead within a lookbehind 2019-08-26 08:51:09 +02:00
Petr Písař
b23673474f Update source addresses
Upstream moved the sources to a different host.
2019-08-20 17:41:05 +02:00
Petr Písař
64eff980f8 Fix reporting rightmost consulted characters 2019-08-12 14:25:22 +02:00
Petr Písař
eebba95644 Use HTTPS protocol in URL metadata 2019-08-05 11:23:37 +02:00
Petr Písař
adc9f4f529 Verify source signature 2019-08-05 11:22:23 +02:00
Petr Písař
47a183090f Fix an incorrect computation of a group length when a branch exceeds 65535 2019-08-05 11:11:37 +02:00
Fedora Release Engineering
3ba0e7ba2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 00:14:58 +00:00
Petr Písař
994d4e2e6d Fix a recursion in compiling an expression with a lookbehind within a lookahead 2019-07-22 10:26:56 +02:00
Petr Písař
91cce68be8 Fix a mismatch with a lookbehind within a lookahead within a lookbehind 2019-07-17 09:06:47 +02:00
Petr Písař
0f3dd4d6aa Fix an integer overflow when checking a lookbehind length 2019-07-11 10:31:26 +02:00
Petr Písař
56a2aceb59 Fix a DFA to recognize a partial match if the end of a subject is encountered in a lookahead, an atomic group, or a recursion 2019-07-03 09:47:04 +02:00
Petr Písař
8438135006 Do not ignore {1} quantifier when it is applied to a non-possessive group with more alternatives 2019-06-20 10:08:46 +02:00
Petr Písař
324f5cdf72 Fix pcre2grep --only-matching output when number of capturing groups exceeds 32 2019-06-17 12:59:41 +02:00
Petr Písař
9bf6f2950c Fix a non-JIT match to return (*MARK) names from a successful conditional assertion 2019-06-17 12:37:23 +02:00
Petr Písař
cbc8dff071 Fix a crash when \X is used without UTF mode in a JIT 2019-05-14 08:55:27 +02:00
Petr Písař
7f9e9ec8d4 Correct a misspelling in a documentation 2019-05-14 08:54:55 +02:00
Petr Písař
78199ab566 Validate number of capturing parentheses 2019-05-06 13:19:54 +02:00
Petr Písař
25f9a2284c 10.33 bump 2019-04-16 18:06:20 +02:00
Petr Písař
ef87f65d7a Do not use SSE2 instructions on x86 CPUs without SSE2 support
Fedora < 29 supports i686 without SSE2
<https://fedoraproject.org/wiki/Changes/Update_i686_architectural_baseline_to_include_SSE2>.
2019-03-26 09:45:46 +01:00
Petr Písař
adfdca64c3 Use upstream fix for a crash in pcre2_substitute() function if mcontext argument is NULL
It adds tests and updates documentation.
2019-03-13 08:17:23 +01:00
Petr Písař
419e370ef0 Fix a crash in pcre2_substitute() function if mcontext argument is NULL 2019-03-11 12:59:33 +01:00
Petr Písař
4beb3e9572 10.33-RC1 bump 2019-03-05 08:59:56 +01:00
Petr Písař
7178f59c9c Fix pcre2_pattern_info() documentation 2019-02-22 14:59:43 +01:00
Igor Gnatenko
0df6b96b91 Rebuild for readline 8.0 2019-02-17 09:30:52 +01:00
Petr Písař
918b21d671 Use an upstream fix for POSIX names as macros 2019-01-31 12:58:28 +01:00
Petr Písař
95dcb8d3c2 Fix version conditions in DFA engine 2019-01-31 12:00:57 +01:00
Petr Písař
51d82854ab Link applications to PCRE2-specific symbols when using POSIX API 2019-01-23 14:31:12 +01:00
Petr Písař
90185e83f1 Fix OpenPOWER 64-bit ELFv2 ABI detection and an undefined behavior in aarch64 JIT compiler 2019-01-03 14:56:29 +01:00
Petr Písař
52ae0ed053 Fix anchoring a pattern preceded with (*MARK) 2019-01-03 14:50:17 +01:00
Petr Písař
9c04090949 Fix heap limit checking overflow in pcre2_dfa_match() 2018-11-01 11:54:32 +01:00
Petr Písař
3760442647 Fix matching a zero-repeated subroutine call at a start of a pattern 2018-11-01 10:48:50 +01:00
Petr Písař
4e27468b9c Remove doubled --enable-pcre2grep-jit configure option 2018-10-29 14:47:49 +01:00
Petr Písař
e9e441776c Fix caseless matching an extended class in JIT mode 2018-09-24 09:19:05 +02:00
Petr Písař
02517481eb Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has a greater than 1 fixed quantifier 2018-09-18 13:21:02 +02:00
Petr Písař
cad8e83822 10.32 bump 2018-09-12 10:26:14 +02:00
Petr Písař
19a83faa12 Fix anchoring in conditionals with only one branch 2018-09-03 10:30:20 +02:00
Petr Písař
f7744b5476 Accept \N{U+hhhh} only in UTF mode 2018-09-03 10:23:51 +02:00
Petr Písař
456a47d61f Correct a changelog typo 2018-08-20 13:00:05 +02:00
Petr Písař
802672ef94 Fix autopossessifying a repeated negative class with no characters less than 256 that is followed by a positive class with only characters less than 255 2018-08-20 12:45:56 +02:00
Petr Písař
7002d51cb1 10.32-RC1 bump 2018-08-16 12:47:49 +02:00
Petr Písař
0e29ad8a15 Fix changing dynamic options 2018-08-16 11:07:48 +02:00
Petr Písař
0cdc995257 Recognize all Unicode space characters with /x option in a pattern 2018-08-16 10:55:50 +02:00
Petr Písař
bf7e53caa6 Fix backtracking atomic groups when they are not separated by something with a backtracking point 2018-07-31 14:56:40 +02:00
Fedora Release Engineering
950ebaa590 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 15:36:23 +00:00
Petr Písař
00e0dc3996 Update license documentation in the spec file 2018-07-10 17:06:20 +02:00
Petr Písař
135d269f6f Fix parsing VERSION conditions 2018-07-09 11:17:22 +02:00
Petr Písař
fe2ff808b5 Fix checking that a lookbehind assertion has a fixed length if the lookbehind assertion is used inside a lookahead assertion 2018-07-09 11:12:21 +02:00
Petr Písař
de4342d19f Fix global search/replace in pcre2test and pcre2_substitute() when the pattern matches an empty string, but never at the starting offset 2018-07-02 13:54:36 +02:00
Petr Písař
fee9c36df1 Fix bug when \K is used in a lookbehind in a substitute pattern 2018-06-25 10:38:49 +02:00
Petr Písař
03881ebe32 Fix setting error offset zero for early errors in pcre2_pattern_convert() 2018-03-16 12:42:26 +01:00
Petr Písař
5804afe067 Fix compiler warnings in pcre2grep 2018-02-26 16:18:51 +01:00
Petr Písař
8e4af0e9ff Add support to pcre2grep for binary zeros in -f files 2018-02-26 16:18:00 +01:00
Petr Písař
da933dc44f Fix a typo in a comment 2018-02-20 12:20:26 +01:00
Petr Písař
25ca86c1eb Fix matching repeated character classes against an 8-bit string containting multi-code-unit characters 2018-02-20 10:38:41 +01:00
Petr Písař
b92c5c8b8e Fix pcre2test -C to correctly show what \R matches 2018-02-20 10:33:53 +01:00
Petr Písař
4db6896f86 Fix returning unset groups in POSIX interface if REG_STARTEND a non-zero starting offset 2018-02-20 10:25:53 +01:00
Petr Písař
18fa13a8d5 10.31 bump 2018-02-12 13:54:27 +01:00
Fedora Release Engineering
307adf1b9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 18:28:34 +00:00
Igor Gnatenko
9cf832fdd0
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-02 11:24:16 +01:00
Petr Písař
070c6886f2 Fix auto-possessification at the end of a capturing group that is called recursively 2018-02-01 15:50:30 +01:00
Petr Písař
045dadf330 Enlarge ovector array match data structure to be large enough in all cases 2018-01-30 09:47:35 +01:00
Petr Písař
fd6a3698c1 10.31-RC1 bump 2018-01-15 12:04:06 +01:00
Petr Písař
1c9da09ce5 Fix matching at a first code unit of a new line sequence if PCRE2_FIRSTLINE is enabled 2018-01-12 13:22:13 +01:00
Petr Písař
6d626f9a4d Fix handling \K in an assertion in pcre2grep tool and documenantion 2018-01-12 12:35:17 +01:00
Petr Písař
f4e05051d1 Fix incorrect first matching character when a backreference with zero minimum repeat starts a pattern 2017-12-22 15:01:50 +01:00
Petr Písař
347d7363ce Allow pcre2grep match counter to handle values larger than 2147483647 2017-12-22 15:01:49 +01:00
Petr Písař
2142cf863c Fix pcre2_jit_match() to properly check the pattern for JIT-compiled 2017-12-22 15:01:13 +01:00
Petr Písař
49359ae6d0 Fix multi-line matching in pcre2grep tool 2017-11-13 18:22:44 +01:00
Petr Písař
f49a98f096 Accept files names longer than 128 bytes in recursive mode of pcre2grep 2017-11-02 09:18:42 +01:00
Petr Písař
c01a6c6ec7 Upstream bug #2079 is known as CVE-2017-8786 2017-11-01 16:04:13 +01:00
Petr Písař
cda3d6e262 10.30 bump
Remove the run-time dependency on gcc. Toolchain people say we cannot
depend on gcc just because of stdlibc header files.
2017-08-15 13:40:18 +02:00
Petr Písař
d92985a6b1 Disable SELinux-friendly JIT allocator because it crashes after a fork 2017-08-02 16:18:38 +02:00
Petr Písař
1864d107f9 Fix handling a hyphen at the end of a character class 2017-07-31 10:05:38 +02:00
Florian Weimer
a9e0cc659a Rebuild with binutils fix for ppc64le (#1475636) 2017-07-29 20:37:27 +02:00
Petr Písař
d9a37e0df7 Fix applying local x modifier while global xx was in effect 2017-07-27 07:58:52 +02:00
Fedora Release Engineering
1900b1bbed - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 02:18:31 +00:00
Petr Písař
f922849d74 Correct comments 2017-07-24 09:46:39 +02:00
Petr Písař
2a5d2944dd Fix a compiler warning in JIT code for ppc32 2017-07-24 09:46:09 +02:00
Petr Písař
054cc8376c 10.30-RC1 bump 2017-07-21 13:02:56 +02:00
Petr Písař
0099a92309 Fix returned offsets from regexec() when REG_STARTEND is used with starting offset greater than zero 2017-06-16 10:41:14 +02:00
Petr Písař
c2d3ffd720 Fix DFA matching a lookbehind assertion that has a zero-length branch 2017-06-16 10:02:01 +02:00
Petr Písař
adc9e95e1d Fix a pcre2test crash on multiple push statements 2017-05-09 08:03:05 +02:00
Petr Písař
bf70a0d2a4 Correct a changelog entry 2017-04-18 14:40:03 +02:00
Petr Písař
b4dc876090 Fix an incorrect cast in UTF validation 2017-04-18 14:27:43 +02:00