-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-44285: Assert that the env_file variable in getpath.c is NULL during an error check #26486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ing an error check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The assertion is correct. I wrote this code ;-)
I cannot say it fix https://bugs.python.org/issue44285 I trust you ;-)
Backports would be nice as well, but not necessary. |
|
I created https://bugs.python.org/issue44290 |
Thanks @stratakis for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @stratakis for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
GH-26495 is a backport of this pull request to the 3.10 branch. |
…eck (pythonGH-26486) This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well. (cherry picked from commit bdb5690) Co-authored-by: stratakis <cstratak@redhat.com>
…eck (pythonGH-26486) This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well. (cherry picked from commit bdb5690) Co-authored-by: stratakis <cstratak@redhat.com>
GH-26496 is a backport of this pull request to the 3.9 branch. |
https://bugs.python.org/issue44285