yesterday's grep-2.27 release candidate could infloop
(too old to reply)
Jim Meyering
2016-11-29 19:38:02 UTC
Raw Message
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

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.