|
|
|
@ -8,8 +8,8 @@
|
|
|
|
|
# This is stable release:
|
|
|
|
|
#%%global rcversion RC1
|
|
|
|
|
Name: pcre2
|
|
|
|
|
Version: 10.40
|
|
|
|
|
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
|
|
|
|
|
Version: 10.32
|
|
|
|
|
Release: %{?rcversion:0.}3%{?rcversion:.%rcversion}%{?dist}
|
|
|
|
|
%global myversion %{version}%{?rcversion:-%rcversion}
|
|
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
|
|
# the library: BSD with exceptions
|
|
|
|
@ -45,25 +45,43 @@ Summary: Perl-compatible regular expression library
|
|
|
|
|
# test-driver: GPLv2+ with exception
|
|
|
|
|
# testdata: Public Domain
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://www.pcre.org/
|
|
|
|
|
Source0: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2
|
|
|
|
|
Source1: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2.sig
|
|
|
|
|
Source2: https://ftp.pcre.org/pub/pcre/Public-Key
|
|
|
|
|
URL: http://www.pcre.org/
|
|
|
|
|
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2
|
|
|
|
|
# Do no set RPATH if libdir is not /usr/lib
|
|
|
|
|
Patch0: pcre2-10.10-Fix-multilib.patch
|
|
|
|
|
|
|
|
|
|
# Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has
|
|
|
|
|
# a greater than 1 fixed quantifier, upstream bug #2320, bug#1628200,
|
|
|
|
|
# in upstream after 10.32
|
|
|
|
|
Patch1: pcre2-10.32-Fix-subject-buffer-overread-in-JIT.-Found-by-Yunho-K.patch
|
|
|
|
|
# Fix caseless matching an extended class in JIT mode, upstream bug #2321,
|
|
|
|
|
# bug #1617960, in upstream after 10.32
|
|
|
|
|
Patch2: pcre2-10.32-Fix-an-xclass-matching-issue-in-JIT.patch
|
|
|
|
|
# Fix matching a zero-repeated subroutine call at a start of a pattern,
|
|
|
|
|
# upstream bug #2332, bug: #1628200, in upstream after 10.32
|
|
|
|
|
Patch3: pcre2-10.32-Fix-zero-repeated-subroutine-call-at-start-of-patter.patch
|
|
|
|
|
# Fix heap limit checking overflow in pcre2_dfa_match(), upstream bug #2334,
|
|
|
|
|
# bug#1628200, in upstream after 10.32
|
|
|
|
|
Patch4: pcre2-10.32-Fix-heap-limit-checking-overflow-bug-in-pcre2_dfa_ma.patch
|
|
|
|
|
# 1/2 Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT),
|
|
|
|
|
# upstream bug #2399, bug #1734468, in upstream after 10.33
|
|
|
|
|
Patch5: pcre2-10.32-Fix-crash-when-X-is-used-without-UTF-in-JIT.patch
|
|
|
|
|
# 2/2 Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT),
|
|
|
|
|
# upstream bug #2399, bug #1734468, in upstream after 10.33
|
|
|
|
|
Patch6: pcre2-10.32-Forgot-this-file-in-previous-commit.-Fixes-JIT-non-U.patch
|
|
|
|
|
# Fix CVE-2022-1586 (Out-of-bounds read in compile_xclass_matchingpath)
|
|
|
|
|
# Downstream patch backport
|
|
|
|
|
# Ref: https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a
|
|
|
|
|
# https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c
|
|
|
|
|
Patch7: pcre2-10.32-Fix-CVE-2022-1586
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
%if %{with pcre2_enables_readline}
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
Requires: %{name}-syntax = %{version}-%{release}
|
|
|
|
|
Provides: bundled(sljit)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -87,7 +105,6 @@ restricted, and does not give full access to all of PCRE2's facilities.
|
|
|
|
|
%package utf16
|
|
|
|
|
Summary: UTF-16 variant of PCRE2
|
|
|
|
|
Provides: bundled(sljit)
|
|
|
|
|
Requires: %{name}-syntax = %{version}-%{release}
|
|
|
|
|
Conflicts: %{name}%{?_isa} < 10.21-4
|
|
|
|
|
|
|
|
|
|
%description utf16
|
|
|
|
@ -96,7 +113,6 @@ This is PCRE2 library working on UTF-16 strings.
|
|
|
|
|
%package utf32
|
|
|
|
|
Summary: UTF-32 variant of PCRE2
|
|
|
|
|
Provides: bundled(sljit)
|
|
|
|
|
Requires: %{name}-syntax = %{version}-%{release}
|
|
|
|
|
Conflicts: %{name}%{?_isa} < 10.21-4
|
|
|
|
|
|
|
|
|
|
%description utf32
|
|
|
|
@ -121,30 +137,25 @@ Provides: bundled(sljit)
|
|
|
|
|
%description static
|
|
|
|
|
Library for static linking for %{name}.
|
|
|
|
|
|
|
|
|
|
%package syntax
|
|
|
|
|
Summary: Documentation for PCRE2 regular expressions
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Conflicts: %{name}-devel < 10.34-8
|
|
|
|
|
|
|
|
|
|
%description syntax
|
|
|
|
|
This is a set of manual pages that document a syntax of the regular
|
|
|
|
|
expressions implemented by the PCRE2 library.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Auxiliary utilities for %{name}
|
|
|
|
|
# pcre2test (linked to GNU readline): BSD (linked to GPLv3+)
|
|
|
|
|
License: BSD and GPLv3+
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-utf32 = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-utf16 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
Utilities demonstrating PCRE2 capabilities like pcre2grep or pcre2test.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup -n %{name}-%{myversion} -p1
|
|
|
|
|
%setup -q -n %{name}-%{myversion}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
%patch5 -p1
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
%patch7 -p1
|
|
|
|
|
# Because of multilib patch
|
|
|
|
|
libtoolize --copy --force
|
|
|
|
|
autoreconf -vif
|
|
|
|
@ -155,7 +166,7 @@ autoreconf -vif
|
|
|
|
|
%global optflags %{optflags} -fno-strict-aliasing
|
|
|
|
|
%endif
|
|
|
|
|
%configure \
|
|
|
|
|
%ifarch s390 sparc64 sparcv9 riscv64
|
|
|
|
|
%ifarch s390 s390x sparc64 sparcv9 riscv64
|
|
|
|
|
--disable-jit \
|
|
|
|
|
--disable-pcre2grep-jit \
|
|
|
|
|
%else
|
|
|
|
@ -177,7 +188,6 @@ autoreconf -vif
|
|
|
|
|
--enable-pcre2-16 \
|
|
|
|
|
--enable-pcre2-32 \
|
|
|
|
|
--enable-pcre2grep-callout \
|
|
|
|
|
--enable-pcre2grep-callout-fork \
|
|
|
|
|
--disable-pcre2grep-libbz2 \
|
|
|
|
|
--disable-pcre2grep-libz \
|
|
|
|
|
--disable-pcre2test-libedit \
|
|
|
|
@ -186,17 +196,16 @@ autoreconf -vif
|
|
|
|
|
%else
|
|
|
|
|
--disable-pcre2test-libreadline \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-percent-zt \
|
|
|
|
|
--disable-rebuild-chartables \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--enable-static \
|
|
|
|
|
--enable-unicode \
|
|
|
|
|
--disable-valgrind
|
|
|
|
|
%{make_build}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
# Get rid of unneeded *.la files
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
# These are handled by %%doc in %%files
|
|
|
|
@ -205,52 +214,42 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre2
|
|
|
|
|
%check
|
|
|
|
|
make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%ldconfig_scriptlets utf16
|
|
|
|
|
%ldconfig_scriptlets utf32
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_libdir}/libpcre2-8.so.0*
|
|
|
|
|
%{_libdir}/libpcre2-posix.so.3*
|
|
|
|
|
%{_libdir}/libpcre2-8.so.*
|
|
|
|
|
%{_libdir}/libpcre2-posix.so.*
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING LICENCE
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
|
|
|
|
|
|
|
|
|
%files utf16
|
|
|
|
|
%{_libdir}/libpcre2-16.so.0*
|
|
|
|
|
%{_libdir}/libpcre2-16.so.*
|
|
|
|
|
%license COPYING LICENCE
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
|
|
|
|
|
|
|
|
|
%files utf32
|
|
|
|
|
%{_libdir}/libpcre2-32.so.0*
|
|
|
|
|
%{_libdir}/libpcre2-32.so.*
|
|
|
|
|
%license COPYING LICENCE
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_mandir}/man1/pcre2-config.*
|
|
|
|
|
%{_mandir}/man3/pcre2_*
|
|
|
|
|
%{_mandir}/man3/pcre2api.*
|
|
|
|
|
%{_mandir}/man3/pcre2build.*
|
|
|
|
|
%{_mandir}/man3/pcre2callout.*
|
|
|
|
|
%{_mandir}/man3/pcre2convert.*
|
|
|
|
|
%{_mandir}/man3/pcre2demo.*
|
|
|
|
|
%{_mandir}/man3/pcre2jit.*
|
|
|
|
|
%{_mandir}/man3/pcre2posix.*
|
|
|
|
|
%{_mandir}/man3/pcre2sample.*
|
|
|
|
|
%{_mandir}/man3/pcre2serialize*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
%{_bindir}/pcre2-config
|
|
|
|
|
%doc doc/*.txt doc/html
|
|
|
|
|
%doc README HACKING ./src/pcre2demo.c
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING LICENCE
|
|
|
|
|
|
|
|
|
|
%files syntax
|
|
|
|
|
%license COPYING LICENCE
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
|
|
|
|
%{_mandir}/man3/pcre2.*
|
|
|
|
|
%{_mandir}/man3/pcre2compat.*
|
|
|
|
|
%{_mandir}/man3/pcre2limits.*
|
|
|
|
|
%{_mandir}/man3/pcre2matching.*
|
|
|
|
|
%{_mandir}/man3/pcre2partial.*
|
|
|
|
|
%{_mandir}/man3/pcre2pattern.*
|
|
|
|
|
%{_mandir}/man3/pcre2perform.*
|
|
|
|
|
%{_mandir}/man3/pcre2syntax.*
|
|
|
|
|
%{_mandir}/man3/pcre2unicode.*
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/pcre2grep
|
|
|
|
|
%{_bindir}/pcre2test
|
|
|
|
@ -258,295 +257,45 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
%{_mandir}/man1/pcre2test.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.40-2
|
|
|
|
|
- Explicitly require uft subpackages in tools subpackage
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.40-1
|
|
|
|
|
- Rebase to the 10.40
|
|
|
|
|
- Resolves multiple Out-of-bounds read errors
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.39-1
|
|
|
|
|
- Rebase to the 10.39
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.38-1
|
|
|
|
|
- Rebase to the 10.38
|
|
|
|
|
- Patch 1 upstreamed
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.37-3.1
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Aug 04 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-3
|
|
|
|
|
- Revert commit 244afd92965bc8df652c2c1711641649b5884fdc.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-2
|
|
|
|
|
- Fix invalid single character repetition in JIT
|
|
|
|
|
- Resolves: BZ#1985484
|
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-1
|
|
|
|
|
- Rebase to the 10.37
|
|
|
|
|
- libpcre2-posix.so.2* SONAME bump to libpcre2-posix.so.3*
|
|
|
|
|
- Enable JIT for s390x arch
|
|
|
|
|
- Patches upstreamed: Patch 1,2,3,4
|
|
|
|
|
- Resolves: rhbz#1970765, BZ#1965025
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 10.36-4.1
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Fri Feb 19 2021 Petr Pisar <ppisar@redhat.com> - 10.36-4
|
|
|
|
|
- Fix a mismatch if \K was involved in a recursion
|
|
|
|
|
- Restore single character repetition optimization in JIT (upstream bug #2698)
|
|
|
|
|
|
|
|
|
|
* Tue Feb 02 2021 Petr Pisar <ppisar@redhat.com> - 10.36-3
|
|
|
|
|
- Fix misparsing long numbers as a backreference and a number without
|
|
|
|
|
a closing bracket as a quantifier (upstream bug #2690)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.36-2.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 15 2021 Petr Pisar <ppisar@redhat.com> - 10.36-2
|
|
|
|
|
- Fix a possible NULL pointer dereference in auto_possessify()
|
|
|
|
|
(upstream bug #2686)
|
|
|
|
|
|
|
|
|
|
* Tue Dec 15 2020 Petr Pisar <ppisar@redhat.com> - 10.36-1
|
|
|
|
|
- 10.36 bump
|
|
|
|
|
|
|
|
|
|
* Mon Nov 09 2020 Petr Pisar <ppisar@redhat.com> - 10.36-0.1.RC1
|
|
|
|
|
- 10.36-RC1 bump
|
|
|
|
|
|
|
|
|
|
* Tue Oct 27 2020 Petr Pisar <ppisar@redhat.com> - 10.35-8
|
|
|
|
|
- Fix a partial matching for a word boundary in JIT mode (upstream bug #2663)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 21 2020 Petr Pisar <ppisar@redhat.com> - 10.35-7
|
|
|
|
|
- Fix matching a character set when JIT is enabled and both Unicode script and
|
|
|
|
|
Unicode class are present (upstream bug #2644)
|
|
|
|
|
|
|
|
|
|
* Wed Sep 16 2020 Petr Pisar <ppisar@redhat.com> - 10.35-6
|
|
|
|
|
- Fix escaping test data and only allow slash delimiter after perltest pragma
|
|
|
|
|
(upstream bug #2641)
|
|
|
|
|
- Fix a mismatch when caselessly searching in an invalid UTF-8 text and a start
|
|
|
|
|
optimization is enabled (upstream bug #2642)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 14 2020 Petr Pisar <ppisar@redhat.com> - 10.35-5
|
|
|
|
|
- Fix escaping test data (upstream bug #2641)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.35-4.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 15 2020 Petr Pisar <ppisar@redhat.com> - 10.35-4
|
|
|
|
|
- Fix a buffer overread when parsing an unterminated VERSION condition with
|
|
|
|
|
a single-digit minor number at the end of a regular expression
|
|
|
|
|
(ClusterFuzz #23779)
|
|
|
|
|
- Fix an early fail optimization with character ranges and a buffer overread
|
|
|
|
|
in JIT (upstream bug #2621)
|
|
|
|
|
|
|
|
|
|
* Tue Jun 02 2020 Petr Pisar <ppisar@redhat.com> - 10.35-3
|
|
|
|
|
- Fix an infinite loop when a single-byte newline is search in JIT if an
|
|
|
|
|
invalid UTF-8 mode is enabled (upstream bug #2581)
|
|
|
|
|
|
|
|
|
|
* Wed May 27 2020 Petr Pisar <ppisar@redhat.com> - 10.35-2
|
|
|
|
|
- Enable shadow stack built-in functions if -fcf-protection compiler flag is
|
|
|
|
|
used by patching a build script (upstream bug #2578)
|
|
|
|
|
|
|
|
|
|
* Mon May 11 2020 Petr Pisar <ppisar@redhat.com> - 10.35-1
|
|
|
|
|
- 10.35 bump
|
|
|
|
|
|
|
|
|
|
* Mon Apr 27 2020 Petr Pisar <ppisar@redhat.com> - 10.35-0.2.RC1
|
|
|
|
|
- Fix a compiler warning about -1 index
|
|
|
|
|
|
|
|
|
|
* Thu Apr 16 2020 Petr Pisar <ppisar@redhat.com> - 10.35-0.1.RC1
|
|
|
|
|
- 10.35-RC1 bump
|
|
|
|
|
|
|
|
|
|
* Mon Mar 23 2020 Petr Pisar <ppisar@redhat.com> - 10.34-9
|
|
|
|
|
- Fix a JIT compilation of the Unicode scripts in the extended character classes
|
|
|
|
|
(upstream bug #2432)
|
|
|
|
|
|
|
|
|
|
* Mon Mar 16 2020 Petr Pisar <ppisar@redhat.com> - 10.34-8
|
|
|
|
|
- Fix computing an offest for the start of the UTF-16 error when a high
|
|
|
|
|
surrogate is not followed by a valid low surrogate (upstream bug #2527)
|
|
|
|
|
- Fix compiling a lookbehind when preceded by a DEFINE group
|
|
|
|
|
(upstream bug #2531)
|
|
|
|
|
- Make manual pages about pattern syntax available when the library is
|
|
|
|
|
installed (bug #1808612)
|
|
|
|
|
|
|
|
|
|
* Thu Feb 20 2020 Petr Pisar <ppisar@redhat.com> - 10.34-7
|
|
|
|
|
- Fix a crash in JIT when an invalid UTF-8 character is encountered in
|
|
|
|
|
match_invalid_utf mode (upstream bug #2529)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 17 2020 Petr Pisar <ppisar@redhat.com> - 10.34-6
|
|
|
|
|
- Fix restoring a verb chain list when exiting a JIT-compiled recursive
|
|
|
|
|
function
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.34-5.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 27 2020 Petr Pisar <ppisar@redhat.com> - 10.34-5
|
|
|
|
|
- Fix a memory leak when allocating a JIT stack fails
|
|
|
|
|
- Ensure a newline after the final line in a file is output by pcre2grep
|
|
|
|
|
(upstream bug #2513)
|
|
|
|
|
- Fix processing (?(DEFINE)...) within look-behind assertions
|
|
|
|
|
- Prevent from a stack exhaustion when studying a pattern for nested groups by
|
|
|
|
|
putting a limit of 1000 recursive calls
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 10.32-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Mon Jan 13 2020 Petr Pisar <ppisar@redhat.com> - 10.34-4
|
|
|
|
|
- Fix a crash in JITted code when a *THEN verb is used in a lookahead assertion
|
|
|
|
|
(upstream bug #2510)
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.32-3
|
|
|
|
|
- Resolves: CVE-2022-1586
|
|
|
|
|
|
|
|
|
|
* Mon Dec 09 2019 Petr Pisar <ppisar@redhat.com> - 10.34-3
|
|
|
|
|
- Fix a crash in pcre2_jit_compile when passing a NULL code argument (upstream
|
|
|
|
|
bug #2487)
|
|
|
|
|
* Mon May 13 2019 Petr Pisar <ppisar@redhat.com> - 10.32-2
|
|
|
|
|
- Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT)
|
|
|
|
|
(bug #1734468)
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Petr Pisar <ppisar@redhat.com> - 10.34-2
|
|
|
|
|
- Fix JIT to respect NOTEMPTY options (upstream bug #2473)
|
|
|
|
|
|
|
|
|
|
* Fri Nov 22 2019 Petr Pisar <ppisar@redhat.com> - 10.34-1
|
|
|
|
|
- 10.34 bump
|
|
|
|
|
|
|
|
|
|
* Mon Nov 18 2019 Petr Pisar <ppisar@redhat.com> - 10.34-0.2.RC2
|
|
|
|
|
- Fix optimized caseless matching of non-ASCII characters in assertions
|
|
|
|
|
(upstream bug #2466)
|
|
|
|
|
|
|
|
|
|
* Thu Nov 07 2019 Petr Pisar <ppisar@redhat.com> - 10.34-0.1.RC2
|
|
|
|
|
- 10.34-RC2 bump
|
|
|
|
|
- Fix an infinite loop in 64-bit ARM JIT with NEON instructions
|
|
|
|
|
|
|
|
|
|
* Wed Oct 30 2019 Petr Pisar <ppisar@redhat.com> - 10.34-0.1.RC1
|
|
|
|
|
- 10.34-RC1 bump
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2019 Petr Pisar <ppisar@redhat.com> - 10.33-15
|
|
|
|
|
- Fix a use after free when freeing JIT memory (upstream bug #2453)
|
|
|
|
|
- Fix thread-safeness in regexec() (upstream bug #2447)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2019 Petr Pisar <ppisar@redhat.com> - 10.33-14
|
|
|
|
|
- Fix a crash in JIT match when a subject has a zero length and an invalid
|
|
|
|
|
pointer (upstream bug #2440)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 27 2019 Petr Pisar <ppisar@redhat.com> - 10.33-13
|
|
|
|
|
- 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 (bug #1743863)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2019 Petr Pisar <ppisar@redhat.com> - 10.33-12
|
|
|
|
|
- Revert a fix for a mismatch with a lookbehind within a lookahead within
|
|
|
|
|
a lookbehind (bug #1743863)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 12 2019 Petr Pisar <ppisar@redhat.com> - 10.33-11
|
|
|
|
|
- Fix reporting rightmost consulted characters
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2019 Petr Pisar <ppisar@redhat.com> - 10.33-10
|
|
|
|
|
- Fix an incorrect computation of a group length when a branch exceeds 65535
|
|
|
|
|
(upstream bug #2428)
|
|
|
|
|
- Use HTTPS protocol in URL metadata
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.33-9.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 22 2019 Petr Pisar <ppisar@redhat.com> - 10.33-9
|
|
|
|
|
- Fix a recursion in compiling an expression with a lookbehind within a
|
|
|
|
|
lookahead (upstream bug #2412)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2019 Petr Pisar <ppisar@redhat.com> - 10.33-8
|
|
|
|
|
- Fix a mismatch with a lookbehind within a lookahead within a lookbehind
|
|
|
|
|
(upstream bug #2412)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 11 2019 Petr Pisar <ppisar@redhat.com> - 10.33-7
|
|
|
|
|
- Fix an integer overflow when checking a lookbehind length
|
|
|
|
|
|
|
|
|
|
* Wed Jul 03 2019 Petr Pisar <ppisar@redhat.com> - 10.33-6
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
* Thu Jun 20 2019 Petr Pisar <ppisar@redhat.com> - 10.33-5
|
|
|
|
|
- Do not ignore {1} quantifier when it is applied to a non-possessive group
|
|
|
|
|
with more alternatives
|
|
|
|
|
|
|
|
|
|
* Mon Jun 17 2019 Petr Pisar <ppisar@redhat.com> - 10.33-4
|
|
|
|
|
- Fix a non-JIT match to return (*MARK) names from a successful conditional
|
|
|
|
|
assertion
|
|
|
|
|
- Fix pcre2grep --only-matching output when number of capturing groups exceeds
|
|
|
|
|
32 (upstream bug #2407)
|
|
|
|
|
|
|
|
|
|
* Mon May 13 2019 Petr Pisar <ppisar@redhat.com> - 10.33-3
|
|
|
|
|
- Correct a misspelling in a documentation
|
|
|
|
|
- Fix a crash when \X is used without UTF mode in a JIT (upstream bug #2399)
|
|
|
|
|
|
|
|
|
|
* Mon May 06 2019 Petr Pisar <ppisar@redhat.com> - 10.33-2
|
|
|
|
|
- Validate number of capturing parentheses
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Petr Pisar <ppisar@redhat.com> - 10.33-1
|
|
|
|
|
- 10.33 bump
|
|
|
|
|
|
|
|
|
|
* Tue Mar 26 2019 Petr Pisar <ppisar@redhat.com> - 10.33-0.4.RC1
|
|
|
|
|
- Do not use SSE2 instructions on x86 CPUs without SSE2 support
|
|
|
|
|
(upstream bug #2385)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2019 Petr Pisar <ppisar@redhat.com> - 10.33-0.3.RC1
|
|
|
|
|
- Use upstream fix for a crash in pcre2_substitute() function if mcontext
|
|
|
|
|
argument is NULL (bug #1686434)
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2019 Petr Pisar <ppisar@redhat.com> - 10.33-0.2.RC1
|
|
|
|
|
- Fix a crash in pcre2_substitute() function if mcontext argument is NULL
|
|
|
|
|
(bug #1686434)
|
|
|
|
|
|
|
|
|
|
* Tue Mar 05 2019 Petr Pisar <ppisar@redhat.com> - 10.33-0.1.RC1
|
|
|
|
|
- 10.33-RC1 bump
|
|
|
|
|
|
|
|
|
|
* Fri Feb 22 2019 Petr Pisar <ppisar@redhat.com> - 10.32-8
|
|
|
|
|
- Fix pcre2_pattern_info() documentation (upstream bug #2373)
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.32-7.1
|
|
|
|
|
- Rebuild for readline 8.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Petr Pisar <ppisar@redhat.com> - 10.32-7
|
|
|
|
|
- Fix version conditions in DFA engine (upstream bug #2367)
|
|
|
|
|
- Use an upstream fix for POSIX names as macros (bug #1667614)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 22 2019 Petr Pisar <ppisar@redhat.com> - 10.32-6
|
|
|
|
|
- Link applications to PCRE2-specific symbols when using POSIX API (bug #1667614)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 03 2019 Petr Pisar <ppisar@redhat.com> - 10.32-5
|
|
|
|
|
- Fix anchoring a pattern preceded with (*MARK)
|
|
|
|
|
- Fix OpenPOWER 64-bit ELFv2 ABI detection in JIT compiler (upstream bug #2353)
|
|
|
|
|
- Fix an undefined behavior in aarch64 JIT compiler (upstream bug #2355)
|
|
|
|
|
|
|
|
|
|
* Thu Nov 01 2018 Petr Pisar <ppisar@redhat.com> - 10.32-4
|
|
|
|
|
- Fix matching a zero-repeated subroutine call at a start of a pattern
|
|
|
|
|
(upstream bug #2332)
|
|
|
|
|
- Fix heap limit checking overflow in pcre2_dfa_match() (upstream bug #2334)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 24 2018 Petr Pisar <ppisar@redhat.com> - 10.32-3
|
|
|
|
|
- Fix caseless matching an extended class in JIT mode (upstream bug #2321)
|
|
|
|
|
|
|
|
|
|
* Tue Sep 18 2018 Petr Pisar <ppisar@redhat.com> - 10.32-2
|
|
|
|
|
* Fri Dec 07 2018 Petr Pisar <ppisar@redhat.com> - 10.32-1
|
|
|
|
|
- 10.32 bump (bug #1628200)
|
|
|
|
|
- Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has
|
|
|
|
|
a greater than 1 fixed quantifier (upstream bug #2320)
|
|
|
|
|
|
|
|
|
|
* Wed Sep 12 2018 Petr Pisar <ppisar@redhat.com> - 10.32-1
|
|
|
|
|
- 10.32 bump
|
|
|
|
|
|
|
|
|
|
* Mon Sep 03 2018 Petr Pisar <ppisar@redhat.com> - 10.32-0.3.RC1
|
|
|
|
|
- Accept \N{U+hhhh} only in UTF mode (upstream bug #2305)
|
|
|
|
|
- Fix anchoring in conditionals with only one branch (upstream bug #2307)
|
|
|
|
|
a greater than 1 fixed quantifier (bug #1628200)
|
|
|
|
|
- Fix matching a zero-repeated subroutine call at a start of a pattern
|
|
|
|
|
(bug #1628200)
|
|
|
|
|
- Fix heap limit checking overflow in pcre2_dfa_match() (bug #1628200)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 20 2018 Petr Pisar <ppisar@redhat.com> - 10.32-0.2.RC1
|
|
|
|
|
- Fix autopossessifying a repeated negative class with no characters less than
|
|
|
|
|
256 that is followed by a positive class with only characters less than 256,
|
|
|
|
|
(upstream bug #2300)
|
|
|
|
|
* Mon Sep 24 2018 Petr Pisar <ppisar@redhat.com> - 10.31-11
|
|
|
|
|
- Fix caseless matching an extended class in JIT mode (bug #1617960)
|
|
|
|
|
|
|
|
|
|
* Thu Aug 16 2018 Petr Pisar <ppisar@redhat.com> - 10.32-0.1.RC1
|
|
|
|
|
- 10.32-RC1 bump
|
|
|
|
|
* Mon Sep 03 2018 Petr Pisar <ppisar@redhat.com> - 10.31-10
|
|
|
|
|
- Fix anchoring in conditionals with only one branch (bug #1617960)
|
|
|
|
|
|
|
|
|
|
* Thu Aug 16 2018 Petr Pisar <ppisar@redhat.com> - 10.31-9
|
|
|
|
|
- Recognize all Unicode space characters with /x option in a pattern
|
|
|
|
|
- Fix changing dynamic options
|
|
|
|
|
(bug #1617960)
|
|
|
|
|
- Fix changing dynamic options (bug #1617960)
|
|
|
|
|
- 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,
|
|
|
|
|
(bug #1617960)
|
|
|
|
|
- Fix autopossessifying a repeated negative class with no characters less than
|
|
|
|
|
256 that is followed by a positive class with only characters less than 256,
|
|
|
|
|
(bug #1617960)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Petr Pisar <ppisar@redhat.com> - 10.31-8
|
|
|
|
|
- Fix backtracking atomic groups when they are not separated by something with
|
|
|
|
|
a backtracking point
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.31-7.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 09 2018 Petr Pisar <ppisar@redhat.com> - 10.31-7
|
|
|
|
|
- Fix checking that a lookbehind assertion has a fixed length if the
|
|
|
|
|
lookbehind assertion is used inside a lookahead assertion
|
|
|
|
|