2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-04 00:05:11 +00:00

Add BASH_FUNC_* to environment blacklist for newer-style bash functions.

This commit is contained in:
Todd C. Miller
2014-09-27 19:52:45 -06:00
parent a62662fa3e
commit c823eb3ef9

View File

@@ -170,6 +170,7 @@ static const char *initial_badenv_table[] = {
"PYTHONUSERBASE", /* python, per user site-packages directory */ "PYTHONUSERBASE", /* python, per user site-packages directory */
"RUBYLIB", /* ruby, library load path */ "RUBYLIB", /* ruby, library load path */
"RUBYOPT", /* ruby, extra command line options */ "RUBYOPT", /* ruby, extra command line options */
"BASH_FUNC_*", /* new-style bash functions */
NULL NULL
}; };