Skip to content

Commit 65ebfab

Browse files
smuravmiss-islington
authored andcommitted
pythongh-128217: Validate the normalized_environment variable instead of the similarly named function (pythonGH-128220)
(cherry picked from commit 3ddd70c) Co-authored-by: Sergey Muraviov <[email protected]>
1 parent 6f3c2c8 commit 65ebfab

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)