Skip to content

gh-98978: Fix Py_SetPythonHome(NULL) - #99066

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pathconfig
Nov 3, 2022
Merged

gh-98978: Fix Py_SetPythonHome(NULL)#99066
vstinner merged 1 commit into
python:mainfrom
vstinner:pathconfig

Conversation

@vstinner

@vstinnervstinner commented Nov 3, 2022

Copy link
Copy Markdown
Member

Fix use-after-free in Py_SetPythonHome(NULL), Py_SetProgramName(NULL) and _Py_SetProgramFullPath(NULL) function calls.

Issue reported by Benedikt Reinartz.

Fix use-after-free in Py_SetPythonHome(NULL), Py_SetProgramName(NULL)
and _Py_SetProgramFullPath(NULL) function calls.
Issue reported by Benedikt Reinartz.
@vstinner

Copy link
Copy Markdown
MemberAuthor

cc @filmor

@vstinner
vstinner merged commit b07f546 into python:mainNov 3, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@vstinner
vstinner deleted the pathconfig branch November 3, 2022 17:34
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 3, 2022
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 b07f546)
Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-99068 is a backport of this pull request to the 3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11 only security fixes label Nov 3, 2022
miss-islington added a commit that referenced this pull request Nov 3, 2022
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 b07f546)
Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@miss-islington@bedevere-bot