From: Sergey Muraviov Date: Tue, 24 Dec 2024 13:06:41 +0000 (+0300) Subject: gh-128217: Validate the normalized_environment variable instead of the similarly... X-Git-Tag: v3.14.0a4~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ddd70ceaaf67b111ee4251817e150396d6d10a9;p=thirdparty%2FPython%2Fcpython.git gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220) --- diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 4ce689fe30e6..260cab48091c 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment) } normalized_environment = normalize_environment(environment); - if (normalize_environment == NULL) { + if (normalized_environment == NULL) { return NULL; }