mirror of https://github.com/python/cpython.git
gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)
This commit is contained in:
parent
bd3e200cce
commit
3ddd70ceaa
|
@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment)
|
||||||
}
|
}
|
||||||
|
|
||||||
normalized_environment = normalize_environment(environment);
|
normalized_environment = normalize_environment(environment);
|
||||||
if (normalize_environment == NULL) {
|
if (normalized_environment == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue