summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2020-11-01 09:23:53 -0800
committerJim Meyering <meyering@fb.com>2020-11-01 10:21:45 -0800
commite8cf93650e46473cd5665fff1e4b7fb978998390 (patch)
treec346f4b4caaa696cdec8b7d099e5989a41fb2e8b
parentdf33ff807de40b131ba835ee4b0d27a0577a17ab (diff)
downloadgrep-e8cf93650e46473cd5665fff1e4b7fb978998390.tar.gz
grep: avoid erroneous matches for e.g., a+a+a+
* gnulib: Update to latest, for dfa's invalid-merge fix. * NEWS (Bug fixes): Mention this.
-rw-r--r--NEWS5
m---------gnulib0
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ac785890..34a20575 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ GNU grep NEWS -*- outline -*-
** Bug fixes
+ grep's DFA matcher performed an invalid regex transformation
+ that would convert an ERE like a+a+a+ to a+a+, which would make
+ grep a+a+a+ mistakenly match "aa".
+ [Bug#44351 introduced in grep 3.2]
+
grep -P now reports the troublesome input filename upon PCRE execution
failure. Before, searching many files for something rare might fail with
just "exceeded PCRE's backtracking limit". Now, it also reports which file
diff --git a/gnulib b/gnulib
-Subproject d9e1d5c10de9683656d0010ef4674d6eaad631f
+Subproject 0d6a10a9c61e24a8b7b5a948bf07df35b69dfed