New submission from Guido van Rossum <gu...@python.org>:

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.

----------
assignee: steve.dower
components: Documentation
messages: 312376
nosy: gvanrossum, steve.dower
priority: normal
severity: normal
status: open
title: Document value of st_ino on Windows

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

Reply via email to