aboutsummaryrefslogtreecommitdiffstats
path: root/lib/env.c
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2017-05-29 18:52:17 +0100
committerKarel Zak <kzak@redhat.com>2017-06-14 12:23:42 +0200
commit143ea06851104ffaa9d3fe8de09c721d2364de64 (patch)
treeb6dd7ede0d1659527fce419a2b37bd5311bb93bf /lib/env.c
parent35e82b2926537c0e7264f84b38045b522fa82003 (diff)
downloadutil-linux-143ea06851104ffaa9d3fe8de09c721d2364de64.tar.gz
lib: remove _RLD_ from forbid environment variable list
The RLD environment variables are related to runtime linker vulnerability in TELNET on systems running Silicon Graphics IRIX. It is extremely unlikely current util-linux would be compiled on such system. Reference: http://www.cert.org/historical/advisories/CA-1995-14.cfm Reference: http://signatures.juniper.net/documentation/signatures/TELNET%3AEXPLOIT%3ASGI-RLD.html Refefence: http://www.polarhome.com/service/man/?qf=rld&tf=2&of=IRIX&sf=1 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'lib/env.c')
-rw-r--r--lib/env.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/env.c b/lib/env.c
index c79e0e0de0..b2e3d975a8 100644
--- a/lib/env.c
+++ b/lib/env.c
@@ -26,7 +26,6 @@ extern char **environ;
#endif
static char * const forbid[] = {
- "_RLD_=",
"BASH_ENV=", /* GNU creeping featurism strikes again... */
"ENV=",
"HOME=",