[issue8195] Crash in sqlite3.create_collation() with a string non encodable to utf8

STINNER Victor report at bugs.python.org
Mon Mar 22 02:32:11 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

My first sentence doesn't mean anything! I wanted to write:

sqlite.connect(":memory:").create_collation, "\uDC80", collation_cb) crashs because _PyUnicode_AsString() returns NULL on error, and the result is not checked.

----------

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


More information about the Python-bugs-list mailing list