[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

Jeremy Kloth report at bugs.python.org
Mon May 6 11:22:53 EDT 2019


Jeremy Kloth <jeremy.kloth+python-tracker at gmail.com> added the comment:

So does that mean that simply doing:

import locale, time
locale.setlocale(locale.LC_ALL, 'de_DE')
time.localtime(time.time())

is enough to trigger the heap corruption?  If yes, then what is the output of:

import locale, time
locale.setlocale(locale.LC_ALL, 'de_DE')
time.strftime('%Z')

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36792>
_______________________________________


More information about the Python-bugs-list mailing list