[issue35959] math.prod(range(10)) caues segfault

Pablo Galindo Salgado report at bugs.python.org
Sun Feb 10 14:18:40 EST 2019


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

The problem is that the intermediate result (i_result) can be 0 when doing the overflow check:

x / i_result != b

i am working on a fix.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35959>
_______________________________________


More information about the Python-bugs-list mailing list