diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-07 15:01:47 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-07 15:01:47 (GMT) |
commit | 3cf96ac2484d093bea17610480efd0e88301f72a (patch) | |
tree | bb932dd53295a2214a1a208141ecf4793cb153be /Modules/_sqlite/util.h | |
parent | 3fd4ab356d76b048f2dbd25797fec87f68dd7f73 (diff) | |
download | cpython-3cf96ac2484d093bea17610480efd0e88301f72a.zip cpython-3cf96ac2484d093bea17610480efd0e88301f72a.tar.gz cpython-3cf96ac2484d093bea17610480efd0e88301f72a.tar.bz2 |
Issue #17073: Fix some integer overflows in sqlite3 module.
Diffstat (limited to 'Modules/_sqlite/util.h')
-rw-r--r-- | Modules/_sqlite/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_sqlite/util.h b/Modules/_sqlite/util.h index baf405c..ca02149 100644 --- a/Modules/_sqlite/util.h +++ b/Modules/_sqlite/util.h @@ -35,4 +35,8 @@ int pysqlite_step(sqlite3_stmt* statement, pysqlite_Connection* connection); * Returns the error code (0 means no error occurred). */ int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st); + +PyObject * _pysqlite_long_from_int64(sqlite3_int64 value); +sqlite3_int64 _pysqlite_long_as_int64(PyObject * value); + #endif |