[New-bugs-announce] [issue27557] Integer Overflow on int()
pablo sacristan
report at bugs.python.org
Mon Jul 18 02:21:48 EDT 2016
New submission from pablo sacristan:
There is an integer overflow on int() because python incorrectly checks the length of the input.
int(0xFFFFFFFFFFFFFFF+100000**8000000000)
That line of code will freeze python until you restart it, which is as annoying as if python had crashed.
Hope it helps ;)
----------
messages: 270711
nosy: pabstersac
priority: normal
severity: normal
status: open
title: Integer Overflow on int()
versions: Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27557>
_______________________________________
More information about the New-bugs-announce
mailing list