GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-146011: Fix use-after-free in `signaldict_repr` after deletion by brijkapadia · Pull Request #153784 · python/cpython

Conversation

@brijkapadia

@brijkapadia brijkapadia commented Jul 15, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor
  • Issue: heap-use-after-free in signaldict_repr: signaldict outlives its parent Context after explicit del #146011

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brijkapadia
pythongh-146011: Fix use-after-free in signaldict_repr after deletion
d14c229
@bedevere-app bedevere-app Bot added the awaiting review label Jul 15, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jul 15, 2026
heap-use-after-free in signaldict_repr: signaldict outlives its parent Context after explicit del #146011
Closed
blurb-it Bot and others added 2 commits July 15, 2026 21:56
@blurb-it
📜🤖 Added by blurb_it.
423628a
@brijkapadia
fix segv
35185dc
@brijkapadia

brijkapadia commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Uh oh!

There was an error while loading. Please reload this page.

skirpichev
skirpichev approved these changes Jul 24, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting core review and removed awaiting review labels Jul 24, 2026
@skirpichev

skirpichev commented Jul 24, 2026

Copy link
Copy Markdown
Member

CC @vstinner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner
vstinner reviewed Jul 24, 2026
View reviewed changes
Comment thread Modules/_decimal/_decimal.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/test/test_decimal.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

brijkapadia and others added 2 commits July 24, 2026 07:11
@brijkapadia @vstinner
Check error message
dcd7fa8
Co-authored-by: Victor Stinner <[email protected]>
@brijkapadia
add comment
d43f8a5
vstinner
vstinner reviewed Jul 24, 2026
View reviewed changes
Comment thread Modules/_decimal/_decimal.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

@brijkapadia @vstinner
Improve comment
076eb2b
Co-authored-by: Victor Stinner <[email protected]>
@vstinner
vstinner enabled auto-merge (squash) July 24, 2026 12:12
@vstinner vstinner added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jul 24, 2026
@vstinner
vstinner merged commit 41a087a into python:main Jul 24, 2026
59 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented Jul 24, 2026

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.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label Jul 24, 2026
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

miss-islington-app Bot commented Jul 24, 2026

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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app miss-islington-app Bot assigned vstinner Jul 24, 2026
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 24, 2026
vstinner added a commit that referenced this pull request Jul 24, 2026
@miss-islington @brijkapadia
@blurb-it @vstinner
[3.15] gh-146011: Fix use-after-free in signaldict_repr after delet…
f921edf
…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 <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <[email protected]>
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Jul 24, 2026

Copy link
Copy Markdown
Member

Merged, thanks for the fix!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner added a commit that referenced this pull request Jul 24, 2026
@miss-islington @brijkapadia
@blurb-it @vstinner
[3.14] gh-146011: Fix use-after-free in signaldict_repr after delet…
0e8b607
…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 <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <[email protected]>
vstinner added a commit that referenced this pull request Jul 24, 2026
@brijkapadia @blurb-it @vstinner
[3.13] gh-146011: Fix use-after-free in signaldict_repr after delet…
fa16a75
…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 <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <[email protected]>
mbeijen pushed a commit to mbeijen/cpython that referenced this pull request Aug 14, 2026
@brijkapadia @blurb-it
@vstinner @mbeijen
pythongh-146011: Fix use-after-free in signaldict_repr after deleti…
f40e13e
…on (python#153784)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner left review comments
@skirpichev skirpichev skirpichev approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@vstinner vstinner

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@brijkapadia @skirpichev @vstinner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.