Skip to content

gh-102281: fix potential nullptr dereference + use of uninitialized memory #102282

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

Merged
merged 3 commits into from
Mar 15, 2023

Conversation

maxbachmann
Copy link
Contributor

@maxbachmann maxbachmann commented Feb 26, 2023

@arhadthedev
Copy link
Member

@vstinner (as a frequent committer into Python/fileutils.c)

@arhadthedev arhadthedev added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Mar 4, 2023
@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@corona10 corona10 self-assigned this Mar 14, 2023
Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@corona10 corona10 merged commit afa6092 into python:main Mar 15, 2023
@corona10 corona10 added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Mar 15, 2023
@miss-islington
Copy link
Contributor

Thanks @maxbachmann for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @maxbachmann for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @maxbachmann and @corona10, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker afa6092ee4260bacf7bc11905466e4c3f8556cbb 3.10

@miss-islington
Copy link
Contributor

Sorry @maxbachmann and @corona10, I had trouble checking out the 3.11 backport branch.
Please retry by removing and re-adding the "needs backport to 3.11" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker afa6092ee4260bacf7bc11905466e4c3f8556cbb 3.11

@maxbachmann
Copy link
Contributor Author

@corona10 will you do the backporting, or should I create the corresponding Pull Requests?

@corona10
Copy link
Member

@corona10 will you do the backporting, or should I create the corresponding Pull Requests?

Please create PRs for them :)

@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Mar 25, 2023
@maxbachmann
Copy link
Contributor Author

@corona10 This does not need a backport for Python 3.10, since this issue was introduced in Python 3.11.

@hauntsaninja hauntsaninja removed the needs backport to 3.10 only security fixes label Mar 25, 2023
hauntsaninja pushed a commit that referenced this pull request Mar 25, 2023
#103040)

[3.11] gh-102281: Fix potential nullptr dereference + use of uninitialized memory (gh-102282)
(cherry picked from commit afa6092)
@maxbachmann maxbachmann deleted the patch-7 branch March 26, 2023 00:34
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request Mar 27, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants