New submission from Serhiy Storchaka:

There are several places where the result of PyLong_AsLong() assigned to 
variable of type int. It can cause unknown issues on platforms with sizeof(int) 
!= sizeof(long). All 140 cases of PyLong_AsLong() usage should be checked.

----------
assignee: storchaka
components: Interpreter Core
messages: 170832
nosy: storchaka
priority: normal
severity: normal
status: open
title: Possible integer overflow of PyLong_AsLong() results
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to