[issue21147] sqlite3 doesn't complain if the request contains a null character

2016-12-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset e358aaf9563f by Benjamin Peterson in branch '2.7': fix refleak in null-containing error case (#21147) https://hg.python.org/cpython/rev/e358aaf9563f -- ___ Python tracker

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 430865e9ea9f by Serhiy Storchaka in branch '2.7': Issue #21147: sqlite3 now raises an exception if the request contains a null http://hg.python.org/cpython/rev/430865e9ea9f New changeset 517f216d45ea by Serhiy Storchaka in branch '3.4': Issue #21147

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-09-10 Thread STINNER Victor
STINNER Victor added the comment: sqlite_null_2.patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is revised patch. There is yet one way to create Statement instance (Connection.__call__) and this patch covers it too. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file36583/sqlite_null_2.patch __

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added a comment on Rietveld. -- components: +Extension Modules nosy: +serhiy.storchaka stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.4 ___ Python tracker

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-04-08 Thread STINNER Victor
STINNER Victor added the comment: Here is a first patch. I only tested the execute() method. -- keywords: +patch nosy: +ghaering Added file: http://bugs.python.org/file34768/sqlite_null.patch ___ Python tracker ___

[issue21147] sqlite3 doesn't complain if the request contains a null character

2014-04-03 Thread STINNER Victor
New submission from STINNER Victor: >>> import sqlite3 >>> c=sqlite3.connect(":memory:") >>> c.execute("select 1") >>> c.execute("select 1").fetchall() [(1,)] >>> c.execute("\0select 1").fetchall() [] -- messages: 215459 nosy: haypo priority: normal severity: normal status: open title: