New submission from Richard Oudkerk:
Relevant code:
int timeout = 0, poll_result, i, j;
...
tout = PyNumber_Long(tout);
if (!tout)
return NULL;
timeout = PyLong_AsLong(tout); -- implicit cast to int
--
messages: 177811
nosy: sbt
priority:
Serhiy Storchaka added the comment:
This is a part of issue15989.
--
nosy: +serhiy.storchaka
resolution: - duplicate
superseder: - Possible integer overflow of PyLong_AsLong() results
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
Thanks. I will close.
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16736
___