[issue13617] Reject embedded null characters in wchar* strings

Arnaud Calmettes report at bugs.python.org
Sun Dec 18 19:09:32 CET 2011


Arnaud Calmettes <calmettes.arnaud at gmail.com> added the comment:

I removed the hints "using wcslen on the result of PyUnicode_AsWideChar*", since the resulting wchar_t strings may not be null-terminated

----------
Added file: http://bugs.python.org/file24037/doc_unicode-2.patch

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


More information about the Python-bugs-list mailing list