KEMBAR78
[3.14] gh-130567: Fix possible crash in locale.strxfrm() (GH-138940) by miss-islington · Pull Request #139265 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 23, 2025

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.
(cherry picked from commit 5854cf3)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Ronald Oussoren ronaldoussoren@mac.com

)

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.
(cherry picked from commit 5854cf3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
@encukou encukou merged commit fff2650 into python:3.14 Oct 7, 2025
46 checks passed
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