gh-130567: Fix possible crash in locale.strxfrm() (GH-138940)
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. Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
S
Serhiy Storchaka committed
5854cf38a25ab8b0c6ab0296098166014f77caa3
Parent: 6b4e3fe
Committed by GitHub <noreply@github.com>
on 9/23/2025, 3:11:50 PM