Skip to content

Commit

Permalink
pythongh-128217: Validate the normalized_environment variable instead…
Browse files Browse the repository at this point in the history
… of the similarly named function (pythonGH-128220)

(cherry picked from commit 3ddd70c)

Co-authored-by: Sergey Muraviov <[email protected]>
  • Loading branch information
miss-islington and smurav authored Dec 24, 2024
1 parent 6f3c2c8 commit 40c46f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_winapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment)
}

normalized_environment = normalize_environment(environment);
if (normalize_environment == NULL) {
if (normalized_environment == NULL) {
return NULL;
}

Expand Down

0 comments on commit 40c46f0

Please sign in to comment.