Hello community, here is the log from the commit of package grep for openSUSE:Factory checked in at 2019-02-24 16:54:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grep (Old) and /work/SRC/openSUSE:Factory/.grep.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grep" Sun Feb 24 16:54:58 2019 rev:70 rq:676971 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/grep/grep.changes 2019-01-15 09:08:21.550680147 +0100 +++ /work/SRC/openSUSE:Factory/.grep.new.28833/grep.changes 2019-02-24 16:55:00.232919939 +0100 @@ -1,0 +2,5 @@ +Mon Feb 18 08:57:22 UTC 2019 - [email protected] + +- test-pcre-jitstack.diff: avoid false positive upon stack overflow + +------------------------------------------------------------------- New: ---- test-pcre-jitstack.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grep.spec ++++++ --- /var/tmp/diff_new_pack.XsKRLP/_old 2019-02-24 16:55:00.868919637 +0100 +++ /var/tmp/diff_new_pack.XsKRLP/_new 2019-02-24 16:55:00.872919635 +0100 @@ -26,6 +26,7 @@ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring +Patch0: test-pcre-jitstack.diff BuildRequires: fdupes BuildRequires: makeinfo BuildRequires: pcre-devel @@ -42,6 +43,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ ++++++ test-pcre-jitstack.diff ++++++ >From 64d7da63575bc6cb0bbcf7ac5ed81d51ea2a3a74 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Sun, 17 Feb 2019 17:47:30 -0800 Subject: [PATCH] tests: avoid false positive upon stack overflow * tests/pcre-jitstack: Don't let a stack overflow evoke a false failure. This test is to ensure there is no internal PCRE error. Reported by Andres Schwab in http://bugs.gnu.org/34370 --- tests/pcre-jitstack | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/pcre-jitstack b/tests/pcre-jitstack index a6c9c21..8f738f0 100755 --- a/tests/pcre-jitstack +++ b/tests/pcre-jitstack @@ -52,8 +52,11 @@ if test $? != 1; then # Rerun that same test, but now with no limit on stack size: (ulimit -s unlimited; - returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt) \ + returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt 2> err) \ || fail=1 + + # If that failed due to stack overflow, don't cry foul. + test $fail = 1 && grep -q 'stack overflow' err && fail=0 fi Exit $fail -- 2.20.1.2.gb21ebb671b
