[New-bugs-announce] [issue27552] Integer Overflow On min()

pablo sacristan report at bugs.python.org
Mon Jul 18 02:02:39 EDT 2016


New submission from pablo sacristan:

There is an integer overflow on min() statements because python incorrectly checks the length to put the overflow message, so it is possible to overflow min()
min(0xFFFFFFFFFFFFFFF+100000**8000000000)
That line freezes python until you restart it, which is basically as if you were crashing it, the effect is the same, python stops working.
Hope it helps ;)

----------
messages: 270706
nosy: pabstersac
priority: normal
severity: normal
status: open
title: Integer Overflow On min()
versions: Python 3.5, Python 3.6

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


More information about the New-bugs-announce mailing list