[issue16335] Integer overflow in unicode-escape decoder

Serhiy Storchaka report at bugs.python.org
Tue Oct 30 10:39:05 CET 2012


Serhiy Storchaka added the comment:

(b'\\N{WHITE SMILING FACE' + b'x' * 2**32 + '}').decode('unicode-escape') may pass on platform with 32-bit int and more than 32-bit size_t if there is enough memory.

I don't have so much memory.

----------

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


More information about the Python-bugs-list mailing list