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:
@@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user