mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
4894c30626
charmaptranslate_makespace() allocated more memory than required for the next replacement but didn't remember that fact, so memory size was growing exponentially every time a replacement string is longer that one character. This fixes SF bug #828737.