Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
picnixz merged 7 commits intopython:mainfrompicnixz:fix/bytearray/uaf-in-mod-142557
Dec 27, 2025

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commentedDec 27, 2025
edited by bedevere-appbot
Loading

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a 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.

@picnixzpicnixz changed the titlegh-142557: fix UAF inbytearray.__mod__ via re-entrant argument's__repr__gh-142557: fix UAF inbytearray.__mod__ when object is mutated while formatting%-style argumentsDec 27, 2025
@picnixzpicnixzenabled auto-merge (squash)December 27, 2025 14:37
@picnixzpicnixz merged commit61ee048 intopython:mainDec 27, 2025
46 checks passed
@miss-islington-app
Copy link

Thanks@picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 27, 2025
…d while formatting `%`-style arguments (pythonGH-143213)(cherry picked from commit61ee048)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@miss-islington-app
Copy link

Sorry,@picnixz, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 61ee04834b096be00678c6819b4957f3f4413a5e 3.13

@bedevere-app
Copy link

GH-143227 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelDec 27, 2025
@picnixzpicnixz deleted the fix/bytearray/uaf-in-mod-142557 branchDecember 27, 2025 15:19
picnixz added a commit that referenced this pull requestDec 27, 2025
…ed while formatting `%`-style arguments (GH-143213) (#143227)gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatting `%`-style arguments (GH-143213)(cherry picked from commit61ee048)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz added a commit to picnixz/cpython that referenced this pull requestDec 27, 2025
… mutated while formatting `%`-style arguments (pythonGH-143213)(cherry picked from commit61ee048)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app
Copy link

GH-143229 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelDec 27, 2025
picnixz added a commit that referenced this pull requestDec 27, 2025
…ed while formatting `%`-style arguments (GH-143213) (#143229)(cherry picked from commit61ee048)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

Assignees

@picnixzpicnixz

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@picnixz@serhiy-storchaka

[8]ページ先頭

©2009-2026 Movatter.jp