2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

unset the KRB_CONF envariable if using kerberos so we don't get

spoofed into using a bogus server
This commit is contained in:
Todd C. Miller
1995-10-30 20:51:18 +00:00
parent a14ba7447d
commit 3003b4109d

3
sudo.c
View File

@@ -158,6 +158,9 @@ struct env_table badenv_table[] = {
#if defined (__osf__) && defined(__alpha)
{ "_RLD_", 5 },
#endif /* __alpha && __alpha */
#ifdef HAVE_KERB4
{ "KRB_CONF", 8 },
#endif
{ "IFS=", 4 },
{ (char *) NULL, 0 }
};