This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, dilettant, giampaolo.rodola, jcea, loewis, movement, neologix, pitrou, python-dev, r.david.murray, vstinner
Date 2013-06-23.11:51:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371988299.33.0.468485221652.issue11016@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 :-))
History
Date User Action Args
2013-06-23 11:51:39vstinnersetrecipients: + vstinner, loewis, jcea, pitrou, movement, giampaolo.rodola, christian.heimes, r.david.murray, neologix, python-dev, dilettant
2013-06-23 11:51:39vstinnersetmessageid: <1371988299.33.0.468485221652.issue11016@psf.upfronthosting.co.za>
2013-06-23 11:51:39vstinnerlinkissue11016 messages
2013-06-23 11:51:38vstinnercreate