diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-03-24 13:21:53 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-03-24 13:21:53 (GMT) |
commit | dc7c128d74876bf0bcef61e34bd858a675b7a43c (patch) | |
tree | 7a7e8be141f0b5557a5abc1dccd648abd1f4d4d8 /Python/bltinmodule.c | |
parent | 7c43524d3cf2d141ab0bce0c1dd21bc410586cb4 (diff) | |
download | cpython-dc7c128d74876bf0bcef61e34bd858a675b7a43c.zip cpython-dc7c128d74876bf0bcef61e34bd858a675b7a43c.tar.gz cpython-dc7c128d74876bf0bcef61e34bd858a675b7a43c.tar.bz2 |
http://bugs.python.org/issue5544
Someone may have closed the file descriptor, with something like
f = open('test.test', 'w')
os.close(f.fileno())
f.close()
Protect against this by checking fd on windows before closing.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions