[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Grep-devel] yesterday's grep-2.27 release candidate could infloop
From: |
Jim Meyering |
Subject: |
[Grep-devel] yesterday's grep-2.27 release candidate could infloop |
Date: |
Tue, 29 Nov 2016 11:38:02 -0800 |
Preparing for the release of grep-2.27, I was surprised to find inputs
that triggered an infinite loop.
With yesterday's pre-release snapshot
(http://meyering.net/grep/grep-2.26.37-03b4.tar.xz), this would not
terminate:
echo cx | LC_ALL=C src/grep -E 'c\b[x ]'
I traced it to a recent change in gnulib's dfa.c and then banged my
head against that code until I understood enough to fix it. I've
attached the gnulib bug fix and the grep patch that adds a test case
and pulls in the gnulib fix.
I'll make a new snapshot later today.
gnulib-fix-dfa-infloop.diff
Description: Text document
grep-fix-dfa-infloop.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Grep-devel] yesterday's grep-2.27 release candidate could infloop,
Jim Meyering <=