Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-142557: fix UAF inbytearray.__mod__ when object is mutated while formatting%-style arguments#143213
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Misc/NEWS.d/next/Core_and_Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…e-142557.KWOc8b.rst
Misc/NEWS.d/next/Core_and_Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Misc/NEWS.d/next/Core_and_Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
serhiy-storchaka left a comment
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. 👍
Don't forget to edit the commit message before merging.
bytearray.__mod__ via re-entrant argument's__repr__bytearray.__mod__ when object is mutated while formatting%-style arguments61ee048 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…d while formatting `%`-style arguments (pythonGH-143213)(cherry picked from commit61ee048)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sorry,@picnixz, I could not cleanly backport this to |
GH-143227 is a backport of this pull request to the3.14 branch. |
… mutated while formatting `%`-style arguments (pythonGH-143213)(cherry picked from commit61ee048)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-143229 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
bytearray_mod(bytes formatting) via re-entrant__repr__method #142557