[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

Serhiy Storchaka report at bugs.python.org
Wed Jun 21 00:43:11 EDT 2017


Serhiy Storchaka added the comment:

This change needs changing one ctypes test, and can break third-party tests or even a code. That is why it is targeted only for 3.7. I'm going to backport the change as a private function for using in CPython internally since this can fix vulnerabilities.

----------

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


More information about the Python-bugs-list mailing list