FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-98978: Fix Py_SetPythonHome(NULL) by vstinner · Pull Request #99066 · python/cpython · GitHub

/ cpython Public

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

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

vstinner merged 1 commit into
python:mainfrom
vstinner:pathconfig

Conversation

vstinner commented Nov 3, 2022
edited by bedevere-bot
Loading

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 commented Nov 3, 2022

Copy link
Copy Markdown
Member Author

cc @filmor

vstinner merged commit b07f546 into python:main Nov 3, 2022

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 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>

Copy link
Copy Markdown

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

bedevere-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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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


Back | FazBrowse Home | New Git URL