[issue1776160] Buffer overflow when listing deeply nested directory
Arno Bakker added the comment: This is on Python 2.7.3 on Win7 32-bit, sorry. -- ___ Python tracker <http://bugs.python.org/issue1776160> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1776160] Buffer overflow when listing deeply nested directory
Arno Bakker added the comment: Can somebody please look at this bug? It still appears in SCons 2.2.0 on Windows 7 when it tries to do a os.listdir on C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include;\build\libevent-2.0.20-stable-debug\include;\build\libevent-2.0.20-stable-debug\WIN32-Code;\build\gtest-1.4.0\include; -- nosy: +a...@cs.vu.nl ___ Python tracker <http://bugs.python.org/issue1776160> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7909] os.path.abspath(os.devnull) returns \\\\nul should be nul?
New submission from Arno Bakker : I encountered this when somebody used: logging.basicConfig(level=logging.CRITICAL, format='%(asctime)s %(levelname)-8s %(message)s', datefmt='%a, %d %b %Y %H:%M:%S', filename=os.devnull, filemode='w') the logging code apparently calls os.path.abspath(filename) somewhere, causing an exception: File "c:\python264\lib\logging\__init__.py", line 838, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 2] No such file or directory: 'nul' -- components: Windows messages: 99212 nosy: abakker severity: normal status: open title: os.path.abspath(os.devnull) returns nul should be nul? versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue7909> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com