You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqlite3 doesn't complain if the request contains a null character #65346
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-09-11.18:47:07.108>created_at=<Date2014-04-03.17:07:25.412>labels= ['extension-modules', 'type-bug']
title="sqlite3 doesn't complain if the request contains a null character"updated_at=<Date2016-12-03.20:01:38.849>user='https://github.com/vstinner'
Activity
vstinner commentedon Apr 3, 2014
vstinner commentedon Apr 9, 2014
Here is a first patch. I only tested the execute() method.
serhiy-storchaka commentedon Sep 5, 2014
Added a comment on Rietveld.
serhiy-storchaka commentedon Sep 9, 2014
Here is revised patch. There is yet one way to create Statement instance (Connection.__call__) and this patch covers it too.
vstinner commentedon Sep 10, 2014
sqlite_null_2.patch looks good to me.
python-dev commentedon Sep 11, 2014
New changeset 430865e9ea9f by Serhiy Storchaka in branch '2.7':
Issue bpo-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 bpo-21147: sqlite3 now raises an exception if the request contains a null
http://hg.python.org/cpython/rev/517f216d45ea
New changeset b81f5652c2d7 by Serhiy Storchaka in branch 'default':
Issue bpo-21147: sqlite3 now raises an exception if the request contains a null
http://hg.python.org/cpython/rev/b81f5652c2d7
python-dev commentedon Dec 3, 2016
New changeset e358aaf9563f by Benjamin Peterson in branch '2.7':
fix refleak in null-containing error case (bpo-21147)
https://hg.python.org/cpython/rev/e358aaf9563f