Skip to content

Commit

Permalink
gh-128217: Validate the normalized_environment variable instead of th…
Browse files Browse the repository at this point in the history
…e similarly named function (GH-128220)
  • Loading branch information
smurav authored Dec 24, 2024
1 parent bd3e200 commit 3ddd70c
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 3ddd70c

Please sign in to comment.