[New-bugs-announce] [issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

Mba report at bugs.python.org
Wed Feb 22 07:24:02 EST 2017


New submission from Mba:

ino_t is of type 'unsigned long' or 'unsigned long long'. Casting it to signed type means that negative values are incorrectly returned for large inodes.

----------
components: Library (Lib)
messages: 288355
nosy: mba
priority: normal
severity: normal
status: open
title: st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list