[issue11016] Re-implementation of the stat module in C
STINNER Victor
report at bugs.python.org
Sun Jun 23 13:51:39 CEST 2013
STINNER Victor added the comment:
> And stat_filemode() should detect integer overflow.
Attached stat_mode_overflow.patch should fix this issue.
(I would also suggest to inline fileperm() into stat_filemode(), or pass buf instead of &buf[1]. But you may not agree, as you want :-))
----------
Added file: http://bugs.python.org/file30675/stat_mode_overflow.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11016>
_______________________________________
More information about the Python-bugs-list
mailing list