Disallow changes to AOUT_LD_* environment variables
authorRichard Basch <probe@mit.edu>
Wed, 25 Oct 1995 01:12:37 +0000 (01:12 +0000)
committerRichard Basch <probe@mit.edu>
Wed, 25 Oct 1995 01:12:37 +0000 (01:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6995 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnetd/state.c

index 921425980628c9a717d52edfdb729d3dc31ac313..576c40b180bed3a9bc6240e7e60f21208bf818b7 100644 (file)
@@ -1627,7 +1627,7 @@ static int envvarok(varp)
 char *varp;
 {
     if (!strncmp(varp, "LD_", 3) || !strncmp(varp, "_RLD_", 5) ||
-       !strncmp(varp, "ELF_LD_", 7) ||
+       !strncmp(varp, "ELF_LD_", 7) || !strncmp(varp, "AOUT_LD_", 8) ||
         !strcmp(varp, "LIBPATH") || !strcmp(varp, "IFS") ||
        strchr(varp, '='))
     {