[issue13848] io.open() doesn't check for embedded NUL characters

Hynek Schlawack report at bugs.python.org
Sun Jan 29 13:47:17 CET 2012


Hynek Schlawack <hs at ox.cx> added the comment:

I have fixed the refleak, added a _PyUnicode_HasNULChars and integrated it into the Win32-unicode-if-branch. Couldn't test it due to lack of win32 – the function itself is tested though.

----------
Added file: http://bugs.python.org/file24355/open-nul.patch

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


More information about the Python-bugs-list mailing list