Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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>
Uh oh!
There was an error while loading.Please reload this page.
encukou commentedSep 23, 2025
Looks good, thank you! |
5854cf3 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR, and@encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
)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>
)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>
GH-139265 is a backport of this pull request to the3.14 branch. |
GH-139266 is a backport of this pull request to the3.13 branch. |
…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>
…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>
Uh oh!
There was an error while loading.Please reload this page.
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.