Commit Graph

143 Commits

Author SHA1 Message Date
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
Petr Písař
28511a24db Rename Fix-bug-that-caused-chars-255-not-to-be-matched-by-c.patch patch 2016-10-19 11:27:08 +02:00
Petr Písař
c661f2a08d Fix matching characters above 255 when a negative character type was used without enabled UCP in a positive class 2016-08-29 16:10:17 +02:00
Petr Písař
57e14270c0 10.22 bump 2016-07-29 14:52:23 +02:00
Petr Písař
0f1e744ae8 Correct pcre2unicode(3) documentation 2016-07-04 10:09:33 +02:00
Petr Písař
bc866320ff Bump pcre2posix SONAME because of ABI change in 10.22-RC1 2016-07-04 10:09:27 +02:00
Petr Písař
61dbf8dc77 Fix register overwite in JIT when SSE2 acceleration is enabled 2016-07-04 09:59:40 +02:00
Petr Písař
bd5df3f8c3 10.22-RC1 bump
FIXME: bump libpcre2-posix SONAME
2016-06-30 10:15:47 +02:00
Petr Písař
308fe6b56a Fix repeated pcregrep output if -o with -M options were used and the match extended over a line boundary 2016-06-20 10:40:42 +02:00
Petr Písař
6ca7a15ebe Enable JIT in the pcre2grep tool 2016-06-03 10:39:09 +02:00
Petr Písař
0c68f1730f Fix an ovector check in JIT test program 2016-06-03 10:35:41 +02:00
Petr Písař
f1cd1d424b Fix a race in JIT locking condition 2016-06-03 10:31:39 +02:00
Petr Písař
955e257c12 Upstream bug #1791 is known as CVE-2016-3191 2016-03-18 12:19:08 +01:00
Petr Písař
5719e310c6 Move UTF-16 and UTF-32 libraries into pcre-ut16 and pcre-32 subpackages 2016-03-07 17:14:50 +01:00
Petr Písař
f0c8abc1ac Ship README in devel as it covers API and build, not general info 2016-03-07 16:52:11 +01:00
Petr Písař
867db377a5 Fix a typo in pcre2_study() 2016-02-29 14:49:42 +01:00
Petr Písař
fc9ba26bc7 Fix workspace overflow for (*ACCEPT) with deeply nested parentheses 2016-02-11 09:33:11 +01:00
Petr Písař
f5072ba0f9 Fix pcre2test for expressions with a callout inside a look-behind assertion 2016-02-11 09:23:41 +01:00
Petr Písař
92a174608e Report unmatched closing parantheses properly 2016-02-11 09:07:37 +01:00
Fedora Release Engineering
3342aef682 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 12:02:11 +00:00
Petr Písař
2d789cb067 10.21 bump 2016-01-12 16:32:35 +01:00
Petr Písař
c43cdc14fe Adapt a test to French locale on RHEL 2016-01-06 14:14:59 +01:00
Petr Písař
0da781beb7 10.21-RC1 bump 2016-01-05 17:32:15 +01:00
Petr Písař
0e216e9ca6 Fix compiling patterns with PCRE2_NO_AUTO_CAPTURE 2015-10-26 10:20:04 +01:00
Petr Písař
4c42ca60bd Fix integer overflow for patterns whose minimum matching length is large 2015-10-12 13:08:57 +02:00
Petr Písař
d9624ccacb Fix compiling classes with a negative escape and a property escape 2015-10-12 13:08:50 +02:00
Petr Písař
63a8a51639 10.20 bump 2015-07-03 10:41:21 +02:00
Petr Písař
52280fb375 Preserve soname 2015-06-22 12:40:47 +02:00
Petr Písař
513d02a850 Replace dependency on glibc-headers with gcc 2015-06-19 09:21:42 +02:00
Petr Písař
036ee2b2d4 Do not use bash's && keyword
Bash ignores exist code if command before && fails when building by
rpmbuild. It's bash feature
<https://bugzilla.redhat.com/show_bug.cgi?id=1211629>.
2015-06-19 09:17:53 +02:00
Petr Písař
a6b40b01ad 10.20-RC1 bump 2015-06-19 09:12:18 +02:00
Dennis Gilmore
494f9e6a18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 00:53:44 +00:00
Marcin Juszkiewicz
9cd81f2fbd fixed Release field 2015-05-29 17:37:28 +02:00
Marcin Juszkiewicz
2b73688bdf Backport fix for AArch64 2015-05-29 17:11:37 +02:00
Petr Písař
02678c20c5 Package pcre2demo.c as a documentation for pcre2-devel
It's also available as pcre2demo(3) but plain file is handier.
2015-05-05 17:01:27 +02:00
Petr Písař
14b395d948 Import 2015-03-16 14:54:41 +01:00