[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

Ned Deily report at bugs.python.org
Fri Jul 15 08:47:44 CEST 2011


Ned Deily <nad at acm.org> added the comment:

0xD800 does not represent a valid Unicode character; it's a surrogate code point (see http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Surrogates).  If you use a code point that does represent a Unicode character, say 0xA800, there is no error.  If there is a bug here, it's that the Python 2 version does not report an error for this edge case.

----------

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


More information about the Python-bugs-list mailing list