[issue26059] Integer Overflow in strop.replace()

STINNER Victor report at bugs.python.org
Wed Jan 13 21:34:55 EST 2016


STINNER Victor added the comment:

> Do you have any idea how to fix it?

strop is a deprecated module, you can write ("\x100"  *0xEAAA).replace("\x100", "AA"*0xAAAA). Does this instruction also crash?

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list