[issue17223] Initializing array.array with unicode type code and buffer segfaults

STINNER Victor report at bugs.python.org
Wed Mar 6 00:42:06 CET 2013


STINNER Victor added the comment:

> ezio.melotti: Tests are still failing on Windows

Oh, I read the PyUnicode_FromUnicode() twice and there is a bug :-( With 16-bit wchar_t type (on Windows), find_maxchar_surrogates() doesn't fail if the wchar_* string contains in invalid surrogate pair.

----------

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


More information about the Python-bugs-list mailing list