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-130567: Fix possible crash in locale.strxfrm()#138940

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

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedSep 15, 2025
edited by bedevere-appbot
Loading

On some macOS versions there was an off-by-one error in wcsxfrm() which caused writing past the end of the array if its size was not calculated by running wcsxfrm() first.

On some macOS versions there was an off-by-one error in wcsxfrm() whichcaused writing past the end of the array if its size was not calculatedby running wcsxfrm() first.Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
@encukouencukouenabled auto-merge (squash)September 23, 2025 14:42
@encukou
Copy link
Member

Looks good, thank you!

@encukouencukou merged commit5854cf3 intopython:mainSep 23, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks@serhiy-storchaka for the PR, and@encukou 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 requestSep 23, 2025
)On some macOS versions there was an off-by-one error in wcsxfrm() whichcaused writing past the end of the array if its size was not calculatedby running wcsxfrm() first.(cherry picked from commit5854cf3)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 23, 2025
)On some macOS versions there was an off-by-one error in wcsxfrm() whichcaused writing past the end of the array if its size was not calculatedby running wcsxfrm() first.(cherry picked from commit5854cf3)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelSep 23, 2025
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 23, 2025
encukou pushed a commit that referenced this pull requestSep 24, 2025
…H-139266)On some macOS versions there was an off-by-one error in wcsxfrm() whichcaused writing past the end of the array if its size was not calculatedby running wcsxfrm() first.(cherry picked from commit5854cf3)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
encukou added a commit that referenced this pull requestOct 7, 2025
…H-139265)On some macOS versions there was an off-by-one error in wcsxfrm() whichcaused writing past the end of the array if its size was not calculatedby running wcsxfrm() first.(cherry picked from commit5854cf3)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou approved these changes

@ronaldoussorenronaldoussorenAwaiting requested review from ronaldoussoren

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@encukou

[8]ページ先頭

©2009-2025 Movatter.jp