Message 312376 - Python tracker

Message312376

Author gvanrossum
Recipients gvanrossum, steve.dower
Date 2018-02-19.22:14:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519078455.66.0.467229070634.issue32878@psf.upfronthosting.co.za>
In-reply-to
Content
We received a report from a well-meaning security researcher who was confused by the non-zero and arbitrary value of st_ino in stat() results on Windows (where in Python 2 this was always zero). The researcher was worried that this was due to an uninitialized memory read. The actual cause is the way this field is filled with arbitary data:
https://github.com/python/cpython/blob/master/Python/fileutils.c#L758

Let's make sure this is documented properly for all versions where we still update the docs.
History
Date User Action Args
2018-02-19 22:14:15gvanrossumsetrecipients: + gvanrossum, steve.dower
2018-02-19 22:14:15gvanrossumsetmessageid: <1519078455.66.0.467229070634.issue32878@psf.upfronthosting.co.za>
2018-02-19 22:14:15gvanrossumlinkissue32878 messages
2018-02-19 22:14:15gvanrossumcreate