mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add BASH_FUNC_* to environment blacklist for newer-style bash functions.
This commit is contained in:
@@ -170,6 +170,7 @@ static const char *initial_badenv_table[] = {
|
||||
"PYTHONUSERBASE", /* python, per user site-packages directory */
|
||||
"RUBYLIB", /* ruby, library load path */
|
||||
"RUBYOPT", /* ruby, extra command line options */
|
||||
"BASH_FUNC_*", /* new-style bash functions */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user