Commit Graph

90 Commits

Author SHA1 Message Date
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ř
de310a916b Fix compiling a class with UCP and without UTF (port to 10.22) 2017-01-03 15:34:41 +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