diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-07 16:59:34 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-07 16:59:34 +0200 |
commit | 35c52b687ffa044a0a5a1fe2ef477ce653d926b7 (patch) | |
tree | 684d887a9f234d05af5126ebdd7c2137f0c0b51a /Modules/_sqlite/util.h | |
parent | d5327d95d2c345f384cc9d03be0d9c4e8773b277 (diff) | |
download | cpython-git-35c52b687ffa044a0a5a1fe2ef477ce653d926b7.tar.gz |
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 42690032a7..12a5710ff3 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 |