Skip to content

Commit 3ddd70c

Browse files
authored
gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)
1 parent bd3e200 commit 3ddd70c

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
@@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment)
10481048
}
10491049

10501050
normalized_environment = normalize_environment(environment);
1051-
if (normalize_environment == NULL) {
1051+
if (normalized_environment == NULL) {
10521052
return NULL;
10531053
}
10541054

0 commit comments

Comments
 (0)