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
Petr Písař
6a75cf73d1
Fix CVE-2017-7186 in JIT mode
2017-04-18 14:03:40 +02:00
Petr Písař
deb728275c
Use a memory allocator from the pattern if no context is supplied to pcre2_match()
2017-03-27 16:27:16 +02:00
Petr Písař
62a464c706
Fix DFA match for a possessively repeated character class
2017-03-27 16:27:09 +02:00
Petr Písař
34a7a87211
Fix 32-bit error buffer size bug in pcre2test
2017-03-22 11:48:55 +01:00
Petr Písař
a4410a1e22
Fix a potential NULL dereference in pcre2_callout_enumerate() if called with a NULL pattern pointer when Unicode support is available
2017-03-22 11:11:46 +01:00
Petr Písař
2dafff6438
Fix a memory leak in pcre2_serialize_decode() when the input is invalid
2017-03-22 11:05:33 +01:00
Petr Písař
9c421654ce
Close serialization file in pcre2test after any error
2017-03-22 11:00:19 +01:00
Petr Písař
8e2f117e16
Upstream bug #2052 is known as CVE-2017-7186
2017-03-21 18:02:02 +01:00
Petr Písař
0bc5c12d72
Fix a pcre2test bug for global match with zero terminated subject
2017-03-20 14:45:42 +01:00
Petr Písař
6c1457ad62
Fix an internal error for a forward reference in a lookbehind with PCRE2_ANCHORED
2017-03-20 14:45:34 +01:00
Petr Písař
fa39d34a79
Remove an old comment
2017-03-20 14:39:37 +01:00
Petr Písař
3e683888a4
Fix a crash when finding a Unicode property for a character with a code point greater than 0x10ffff
2017-02-27 15:49:17 +01:00
Petr Písař
c9c5588a71
Handle memmory allocation failures in pcre2test tool
2017-02-24 11:25:54 +01:00
Petr Písař
d53482340e
10.23 bump
2017-02-14 14:28:44 +01:00
Fedora Release Engineering
22bc41c3c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-11 01:22:24 +00:00
Petr Písař
65d7ed9b4a
10.23-RC1 bump
2017-01-17 14:11:54 +01:00
Igor Gnatenko
140c94209c
Rebuild for readline 7.x
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:36 +01:00
Petr Písař
4f527928c3
Fix an out-of-bound read in pcre2test tool within POSIX mode
2017-01-12 08:59:17 +01:00
Petr Písař
dc60893013
Fix compiling a class with UCP and without UTF
2017-01-03 15:22:49 +01:00
Petr Písař
7b0bc0d59d
Fix a crash in substitution if starting offest was specified beyond the subject end
2016-12-16 08:20:16 +01:00
Petr Písař
a7a9aa46ac
Fix a crash when doing an extended substitution for \p, \P, or \X
2016-12-16 08:08:34 +01:00
Petr Písař
6616684983
Fix a crash in pcre2test when displaying a wide character with a set locate
2016-12-09 09:25:40 +01:00
Petr Písař
25ee885883
Fix a buffer overflow in partial match test for CRLF in an empty buffer
2016-12-09 09:11:40 +01:00
Petr Písař
546f704a2c
Fix a memory leak and a typo in a documentation
2016-12-09 09:01:03 +01:00
Petr Písař
6a1b5a7a57
Fix pcre2-config --libs-posix output
2016-12-09 08:37:46 +01:00
Petr Písař
d3d89abedd
Fix faulty auto-anchoring patterns when .* is inside an assertion
2016-11-08 13:53:08 +01:00
Petr Písař
3cab1f40be
Ignore offset modifier in pcre2test in POSIX mode
2016-10-24 10:56:15 +02:00
Petr Písař
249ffc0f72
Document assert capture limitation
2016-10-24 10:45:16 +02:00
Richard W.M. Jones
ec745f21c3
Disable the JIT on riscv64.
...
Build fails with:
src/pcre2_jit_compile.c:81:2: error: #error Unsupported architecture
#error Unsupported architecture
^~~~~
This is analogous to the same change made for pcre
(commit a276af83c829ae0589a27d5efb8dc97ce7195f3d).
2016-10-19 14:16:27 +01:00
Petr Písař
14e4e93702
Fix optimization bugs for patterns starting with lookaheads
2016-10-19 14:00:12 +02:00
Petr Písař
0985ca53fb
Fix internal option documentation in pcre2pattern(3)
2016-10-19 14:00:12 +02:00
Petr Písař
98c96fae6e
Fix miscopmilation of conditionals when a group name start with "R"
2016-10-19 14:00:09 +02:00
Petr Písař
b7ceedada0
Fix pcrepattern(3) documentation
2016-10-19 13:59:37 +02:00
Petr Písař
4608e09564
Fix displaying a callout position in pcretest output with an escape sequence greater than \x{ff}
2016-10-19 12:40:27 +02:00