Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcre for openSUSE:Factory checked in at 2022-05-19 22:48:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcre (Old) and /work/SRC/openSUSE:Factory/.pcre.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcre" Thu May 19 22:48:59 2022 rev:78 rq:977432 version:8.45 Changes: -------- --- /work/SRC/openSUSE:Factory/pcre/pcre.changes 2021-08-05 20:47:36.375965489 +0200 +++ /work/SRC/openSUSE:Factory/.pcre.new.1538/pcre.changes 2022-05-19 22:49:07.686320131 +0200 @@ -1,0 +2,7 @@ +Wed May 11 09:21:09 UTC 2022 - Jason Sikes <jsi...@suse.com> + +- Added pcre-8.45-bsc1199232-unicode-property-matching.patch + * bsc#1199232 + * Fixes unicode property matching issue + +------------------------------------------------------------------- New: ---- pcre-8.45-bsc1199232-unicode-property-matching.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcre.spec ++++++ --- /var/tmp/diff_new_pack.PMWDtv/_old 2022-05-19 22:49:08.246320850 +0200 +++ /var/tmp/diff_new_pack.PMWDtv/_new 2022-05-19 22:49:08.250320854 +0200 @@ -1,7 +1,7 @@ # # spec file for package pcre # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,7 @@ Patch2: pcre-8.41-stack_frame_size_detection.patch #Patch 3: see: https://sources.debian.net/patches/pcre3/2:8.39-2/pcreposix.patch/ and cyrus imapd issue #1731 Patch3: pcre-8.42-pcreposix.patch +Patch4: pcre-8.45-bsc1199232-unicode-property-matching.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -154,6 +155,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects ++++++ pcre-8.45-bsc1199232-unicode-property-matching.patch ++++++ diff --git a/ChangeLog b/ChangeLog index 86acd7b..9afbb0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -145,6 +145,12 @@ crash. This issue was fixed for other kinds of repeat in release 8.37 by change 13. Fix misleading error message in configure.ac. +23. Fixed a unicode properrty matching issue in JIT. The character was not +fully read in caseless matching. + +23. Fixed a unicode properrty matching issue in JIT. The character was not +fully read in caseless matching. + Version 8.41 05-July-2017 ------------------------- diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c index 4dcf8fc..5ab5206 100644 --- a/pcre_jit_compile.c +++ b/pcre_jit_compile.c @@ -5679,7 +5679,7 @@ while (*cc != XCL_END) { SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); cc++; - if (*cc == PT_CLIST) + if (*cc == PT_CLIST && cc[-1] == XCL_PROP) { other_cases = PRIV(ucd_caseless_sets) + cc[1]; while (*other_cases != NOTACHAR) diff --git a/pcre_jit_test.c b/pcre_jit_test.c index 034cb52..cd687c3 100644 --- a/pcre_jit_test.c +++ b/pcre_jit_test.c @@ -387,6 +387,7 @@ static struct regression_test_case regression_test_cases[] = { { MUAP, 0 | F_PROPERTY, "[\xc3\xa2-\xc3\xa6\xc3\x81-\xc3\x84\xe2\x80\xa8-\xe2\x80\xa9\xe6\x92\xad\\p{Zs}]{2,}", "\xe2\x80\xa7\xe2\x80\xa9\xe6\x92\xad \xe6\x92\xae" }, { MUAP, 0 | F_PROPERTY, "[\\P{L&}]{2}[^\xc2\x85-\xc2\x89\\p{Ll}\\p{Lu}]{2}", "\xc3\xa9\xe6\x92\xad.a\xe6\x92\xad|\xc2\x8a#" }, { PCRE_UCP, 0, "[a-b\\s]{2,5}[^a]", "AB baaa" }, + { CMUAP, 0, "[^S]\\B", "\xe2\x80\x8a" }, /* Possible empty brackets. */ { MUA, 0, "(?:|ab||bc|a)+d", "abcxabcabd" },