Skip to content

gh-146011: Fix use-after-free in signaldict_repr after deletion#153784

Merged
vstinner merged 6 commits into
python:mainfrom
brijkapadia:signaldict-repr
Jul 24, 2026
Merged

gh-146011: Fix use-after-free in signaldict_repr after deletion#153784
vstinner merged 6 commits into
python:mainfrom
brijkapadia:signaldict-repr

Conversation

@brijkapadia

@brijkapadia brijkapadia commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

@brijkapadia

Copy link
Copy Markdown
Contributor Author

@skirpichev could you take a look whenever you have time?

@skirpichev
skirpichev self-requested a review July 19, 2026 08:40
Comment thread Modules/_decimal/_decimal.c
@skirpichev

Copy link
Copy Markdown
Member

CC @vstinner

Comment thread Modules/_decimal/_decimal.c
Comment thread Lib/test/test_decimal.py Outdated
brijkapadia and others added 2 commits July 24, 2026 07:11
Co-authored-by: Victor Stinner <vstinner@python.org>
Comment thread Modules/_decimal/_decimal.c Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner
vstinner enabled auto-merge (squash) July 24, 2026 12:12
@vstinner vstinner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 24, 2026
@vstinner
vstinner merged commit 41a087a into python:main Jul 24, 2026
59 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @brijkapadia for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 24, 2026

Copy link
Copy Markdown

GH-154599 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 24, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @brijkapadia and @vstinner, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 41a087acc2d04c5bc3db93b5367456f05ae400a4 3.13

@bedevere-app

bedevere-app Bot commented Jul 24, 2026

Copy link
Copy Markdown

GH-154600 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 24, 2026
@brijkapadia
brijkapadia deleted the signaldict-repr branch July 24, 2026 12:44
@bedevere-app

bedevere-app Bot commented Jul 24, 2026

Copy link
Copy Markdown

GH-154607 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 24, 2026
vstinner added a commit that referenced this pull request Jul 24, 2026
…ion (GH-153784) (#154599)

gh-146011: Fix use-after-free in `signaldict_repr` after deletion (GH-153784)
(cherry picked from commit 41a087a)

Co-authored-by: Brij Kapadia <97006829+brijkapadia@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app

bedevere-app Bot commented Jul 24, 2026

Copy link
Copy Markdown

GH-154615 is a backport of this pull request to the 3.13 branch.

@vstinner

Copy link
Copy Markdown
Member

Merged, thanks for the fix!

vstinner added a commit that referenced this pull request Jul 24, 2026
…ion (GH-153784) (#154600)

gh-146011: Fix use-after-free in `signaldict_repr` after deletion (GH-153784)
(cherry picked from commit 41a087a)

Co-authored-by: Brij Kapadia <97006829+brijkapadia@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request Jul 24, 2026
…ion (GH-153784) (#154607)

* [3.13] gh-146011: Fix use-after-free in `signaldict_repr` after deletion (GH-153784)
(cherry picked from commit 41a087a)

Co-authored-by: Brij Kapadia <97006829+brijkapadia@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
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.

3 participants