summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-03-12 09:28:01 +0100
committerJim Meyering <meyering@redhat.com>2012-03-12 09:46:03 +0100
commit12c957f786b12a4dd116f9c40a715d671d17fa16 (patch)
treeff72b20016c52d5cfba76c7801cc6720a35c2c2d /NEWS
parentd0bb7f9c1505f08362dbf107d47d8d6795c93fbf (diff)
downloadgrep-12c957f786b12a4dd116f9c40a715d671d17fa16.tar.gz
grep: fix segfault with -r --exclude-dir and no file operand
* src/main.c (grepdir): Don't invoke excluded_file_name on NULL. * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d0a63d57..d4d70f5b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ GNU grep NEWS -*- outline -*-
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+ grep no longer segfaults with -r --exclude-dir and no file operand.
+ I.e., ":|grep -r --exclude-dir=D PAT" would segfault.
+
* Noteworthy changes in release 2.11 (2012-03-02) [stable]