From 54491d275184428be6e28e3f22f04859b7288105 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 28 Oct 2009 06:21:24 -0600 Subject: printenv: ignore bogus variable names Exposed by env a=b=c printenv a=b. * src/printenv.c (main): Silently reject = in names. * tests/misc/printenv: Test for it. * NEWS: Document this. --- NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 442ce13f3..35d141323 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,8 @@ GNU coreutils NEWS -*- outline -*- [bug introduced in coreutils-8.0] env -u A=B now fails, rather than silently adding A to the - environment. [the bug dates back to the initial implementation] + environment. Likewise, printenv A=B silently ignores the invalid + name. [the bugs date back to the initial implementation] md5sum now prints checksums atomically so that concurrent processes will not intersperse their output. -- cgit v1.2.3-54-g00ecf