commit | 41a9f49bc5d52b44386fe44ed6a1983bd2cd65cc | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Nov 03 11:09:15 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Nov 03 11:09:15 2022 -0700 |
tree | fc4a6c434c52661d35122967d6208adcc3fea659 | |
parent | eb023a84d92661bcde9dfe1641576774710f6c64 [diff] |
gh-98978: Fix Py_SetPythonHome(NULL) (GH-99066) Fix use-after-free in Py_SetPythonHome(NULL), Py_SetProgramName(NULL) and _Py_SetProgramFullPath(NULL) function calls. Issue reported by Benedikt Reinartz. (cherry picked from commit b07f546ea3a574bc3016fb023c157c65a47f4849) Co-authored-by: Victor Stinner <vstinner@python.org>