Skip to content

gh-98783: Fix crashes when str subclasses where used in _PyUnicode_Equal #98806

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 4 commits into from
Oct 30, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Oct 28, 2022

@sobolevn
Copy link
Member Author

Windows failure is unrelated, but I will retrigger anyway.

@sobolevn sobolevn closed this Oct 28, 2022
@sobolevn sobolevn reopened this Oct 28, 2022
@sweeneyde sweeneyde added the needs backport to 3.11 only security fixes label Oct 28, 2022
@sweeneyde sweeneyde merged commit 76f989d into python:main Oct 30, 2022
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry @sobolevn and @sweeneyde, 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 76f989dc3e668d15b3ec9a90bf6530276530acac 3.11

@sweeneyde sweeneyde added needs backport to 3.11 only security fixes and removed needs backport to 3.11 only security fixes labels Oct 30, 2022
@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 30, 2022
…code_Equal` (pythonGH-98806)

(cherry picked from commit 76f989d)

Co-authored-by: Nikita Sobolev <[email protected]>
@bedevere-bot
Copy link

GH-98869 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 Oct 30, 2022
@bedevere-bot
Copy link

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

@sobolevn
Copy link
Member Author

Thank you for your help!

sweeneyde added a commit that referenced this pull request Oct 30, 2022
…icode_Equal` (GH-98806) (#98871)

* gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806)
(cherry picked from commit 76f989d)

Co-authored-by: Nikita Sobolev <[email protected]>
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.

4 participants