[New-bugs-announce] [issue21147] sqlite3 doesn't complain if the request contains a null character

STINNER Victor report at bugs.python.org
Thu Apr 3 19:07:25 CEST 2014


New submission from STINNER Victor:

>>> import sqlite3
>>> c=sqlite3.connect(":memory:")
>>> c.execute("select 1")
<sqlite3.Cursor object at 0x7fd11e6a9110>
>>> c.execute("select 1").fetchall()
[(1,)]
>>> c.execute("\0select 1").fetchall()
[]

----------
messages: 215459
nosy: haypo
priority: normal
severity: normal
status: open
title: sqlite3 doesn't complain if the request contains a null character
versions: Python 3.5

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


More information about the New-bugs-announce mailing list