[issue6697] Check that _PyUnicode_AsString() result is not NULL

Alexander Belopolsky report at bugs.python.org
Mon Dec 6 16:58:36 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

What is the status of this issue?  A grep for _PyUnicode_AsString quickly revealed a crash:

>>> from xml.etree.cElementTree import *
>>> e = Element('a')
>>> getattr(e, '\uD800')
Segmentation fault

I don't think this is the only one.

----------
nosy: +belopolsky

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


More information about the Python-bugs-list mailing list