SIGN IN SIGN UP

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>
M
Miss Islington (bot) committed
41a9f49bc5d52b44386fe44ed6a1983bd2cd65cc
Parent: eb023a8
Committed by GitHub <noreply@github.com> on 11/3/2022, 6:09:15 PM