diff options
author | Sergey Muraviov <smurav@mail.ru> | 2024-12-24 13:06:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-24 13:06:41 (GMT) |
commit | 3ddd70ceaaf67b111ee4251817e150396d6d10a9 (patch) | |
tree | 76b2217346818f72064461a4b6f1113701c2c9ad | |
parent | bd3e200cce6601684108e23e7621bbe05b53a323 (diff) | |
download | cpython-3ddd70ceaaf67b111ee4251817e150396d6d10a9.zip cpython-3ddd70ceaaf67b111ee4251817e150396d6d10a9.tar.gz cpython-3ddd70ceaaf67b111ee4251817e150396d6d10a9.tar.bz2 |
gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)
-rw-r--r-- | Modules/_winapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 4ce689f..260cab4 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment) } normalized_environment = normalize_environment(environment); - if (normalize_environment == NULL) { + if (normalized_environment == NULL) { return NULL; } |