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

_struct.c: Fix UB from integer overflow inprepare_s#145750

Merged
serhiy-storchaka merged 2 commits intopython:mainfrom
StanFromIreland:ub
Mar 10, 2026
Merged

_struct.c: Fix UB from integer overflow inprepare_s#145750
serhiy-storchaka merged 2 commits intopython:mainfrom
StanFromIreland:ub

Conversation

@StanFromIreland
Copy link
Member

Like#145158. I checked the remaining paths inprepare_s and there are no remaining possible cases for UB.

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

@serhiy-storchakaserhiy-storchaka added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMar 10, 2026
@serhiy-storchakaserhiy-storchaka merged commit4d0dce0 intopython:mainMar 10, 2026
101 of 104 checks passed
@miss-islington-app
Copy link

Thanks@StanFromIreland for the PR, and@serhiy-storchaka for merging it 🌮🎉.. 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 requestMar 10, 2026
…thonGH-145750)(cherry picked from commit4d0dce0)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@miss-islington-app
Copy link

Sorry,@StanFromIreland and@serhiy-storchaka, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 4d0dce0c8ddc4d0321bd590a1a33990edc2e1b08 3.13

@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 10, 2026
StanFromIreland added a commit to StanFromIreland/cpython that referenced this pull requestMar 10, 2026
…ule (pythonGH-145750)(cherry picked from commit4d0dce0)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMar 10, 2026
serhiy-storchaka pushed a commit that referenced this pull requestMar 10, 2026
…ule (GH-145750) (GH-145772)(cherry picked from commit4d0dce0)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull requestMar 10, 2026
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

@gpsheadgpsheadAwaiting requested review from gpshead

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@StanFromIreland@serhiy-storchaka

[8]ページ先頭

©2009-2026 Movatter.jp