[issue13171] Bug in file.read(), can access unknown data.

STINNER Victor report at bugs.python.org
Fri Oct 14 13:37:13 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

This issue is a duplicate of the issue #1394612 which has been closed as invalid. Read the following message:

http://bugs.python.org/issue1394612#msg27200

I suppose that Python 3 is not affected by this issue because it doesn't use fread/fwrite anymore, but directly read/write (the low level, unbuffered, API).

It looks like Python cannot do anything for this issue, except documenting this surprising behaviour. Would you like to write a patch for the documentation?

----------

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


More information about the Python-bugs-list mailing list