]> granicus.if.org Git - python/commit
http://bugs.python.org/issue5544
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 24 Mar 2009 15:27:42 +0000 (15:27 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 24 Mar 2009 15:27:42 +0000 (15:27 +0000)
commita8abe863316b8f0bc92c9a490573dde67c7c81e6
treebc85db382070c19b73c12a900278567ddbc0b279
parent649170bd66e0084f227b55a6941c41e0c4d79df7
http://bugs.python.org/issue5544
Guard _fileio.c against other malicious os.close(f.fileno()) attempts.
Add tests to test_fileio.py to verify behaviour.
Lib/test/test_fileio.py
Modules/_fileio.c