mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)
(cherry picked from commit 3ddd70ceaa
)
Co-authored-by: Sergey Muraviov <smurav@mail.ru>
This commit is contained in:
parent
6f3c2c8d04
commit
40c46f08e2
1 changed files with 1 additions and 1 deletions
|
@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment)
|
|||
}
|
||||
|
||||
normalized_environment = normalize_environment(environment);
|
||||
if (normalize_environment == NULL) {
|
||||
if (normalized_environment == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue