Commit Graph

177 Commits

Author SHA1 Message Date
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
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ř
7c18445d5d Fix rpmlint configuration syntax 2019-08-26 08:56:42 +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