Skip to content

gh-145187: Fix crash on invalid type parameter bound expression in conditional block#145188

Merged
gpshead merged 1 commit intopython:mainfrom
StanFromIreland:fix-type-param-crash
Feb 24, 2026
Merged

gh-145187: Fix crash on invalid type parameter bound expression in conditional block#145188
gpshead merged 1 commit intopython:mainfrom
StanFromIreland:fix-type-param-crash

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Feb 24, 2026

@gpshead gpshead added the needs backport to 3.14 bugs and security fixes label Feb 24, 2026
@gpshead gpshead merged commit 5e61a16 into python:main Feb 24, 2026
55 checks passed
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 24, 2026
… in conditional block (pythonGH-145188)

Fix parsing crash found by oss-fuzz
(cherry picked from commit 5e61a16c1058e5de66b71dfdc9720d40e9f515d9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Feb 24, 2026

GH-145196 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 Feb 24, 2026
@StanFromIreland StanFromIreland deleted the fix-type-param-crash branch February 24, 2026 20:45
gpshead pushed a commit that referenced this pull request Feb 24, 2026
…n in conditional block (GH-145188) (#145196)

gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188)

Fix parsing crash found by oss-fuzz
(cherry picked from commit 5e61a16)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
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