Skip to content

Commit e7f8ba7

Browse files
gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)
(cherry picked from commit 3ddd70c) Co-authored-by: Sergey Muraviov <[email protected]>
1 parent f65ac86 commit e7f8ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_winapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ getenvironment(PyObject* environment)
946946
}
947947

948948
normalized_environment = normalize_environment(environment);
949-
if (normalize_environment == NULL) {
949+
if (normalized_environment == NULL) {
950950
return NULL;
951951
}
952952

0 commit comments

Comments
 (0)