mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-98978: Fix Py_SetPythonHome(NULL) (#99066)
Fix use-after-free in Py_SetPythonHome(NULL), Py_SetProgramName(NULL) and _Py_SetProgramFullPath(NULL) function calls. Issue reported by Benedikt Reinartz.
This commit is contained in:
parent
ef0e72b31d
commit
b07f546ea3
2 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
Fix use-after-free in ``Py_SetPythonHome(NULL)``,
|
||||
``Py_SetProgramName(NULL)`` and ``_Py_SetProgramFullPath(NULL)`` function
|
||||
calls. Issue reported by Benedikt Reinartz. Patch by Victor Stinner.
|
Loading…
Add table
Add a link
Reference in a new issue