[issue22518] integer overflow in encoding unicode

STINNER Victor report at bugs.python.org
Tue Sep 30 15:13:37 CEST 2014


STINNER Victor added the comment:

> It would be nice to add a bigmem test to check that repr('\x00'*(2**30+1)) doesn't crash anymore.

Ooops, wrong issue, the test is : ("\uffff" * (2**29)).encode("latin1", errors="xmlcharrefreplace").

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22518>
_______________________________________


More information about the Python-bugs-list mailing list