* commit '30894bdfd6e4c74ab673d47391e62fb14fb51381': Filter ANDROID_PROPERTY_WORKSPACE
This commit is contained in:
commit
079e435655
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ static bool __is_valid_environment_variable(const char* name) {
|
||||||
static bool __is_unsafe_environment_variable(const char* name) {
|
static bool __is_unsafe_environment_variable(const char* name) {
|
||||||
// None of these should be allowed in setuid programs.
|
// None of these should be allowed in setuid programs.
|
||||||
static const char* const UNSAFE_VARIABLE_NAMES[] = {
|
static const char* const UNSAFE_VARIABLE_NAMES[] = {
|
||||||
|
"ANDROID_PROPERTY_WORKSPACE",
|
||||||
"GCONV_PATH",
|
"GCONV_PATH",
|
||||||
"GETCONF_DIR",
|
"GETCONF_DIR",
|
||||||
"HOSTALIASES",
|
"HOSTALIASES",
|
||||||
|
|
Loading…
Reference in a new issue