This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年01月29日 17:01 by serhiy.storchaka, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sqlite_int_overflow-2.7.patch | serhiy.storchaka, 2013年01月29日 17:06 | review | ||
| sqlite_int_overflow-3.2.patch | serhiy.storchaka, 2013年01月29日 17:06 | review | ||
| sqlite_int_overflow-3.3.patch | serhiy.storchaka, 2013年01月29日 17:06 | review | ||
| sqlite_int_overflow_tests.patch | serhiy.storchaka, 2013年02月05日 15:49 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg180915 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年01月29日 17:01 | |
The proposed patch fixes an integer overflow in such cases: 1. When an authorizer callback (registered with set_authorizer()) returns an integer which doesn't fit into C int. Now integers out of C int range interpreted as SQLITE_DENY (as any non-integer values). 2. When a callable used in create_collation() returns an integer which doesn't fit into C int. Now all Python integers work. 3. When Python integer doesn't fit into SQLite INTEGER. Now overflow detected and an exception raised. 4. Now sqlite module built even when HAVE_LONG_LONG is not defined. |
|||
| msg181448 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年02月05日 15:49 | |
Here are tests for some bugs. |
|||
| msg181618 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年02月07日 15:08 | |
New changeset 649937bb8f1c by Serhiy Storchaka in branch '2.7': Issue #17073: Fix some integer overflows in sqlite3 module. http://hg.python.org/cpython/rev/649937bb8f1c New changeset 55a89352e220 by Serhiy Storchaka in branch '3.2': Issue #17073: Fix some integer overflows in sqlite3 module. http://hg.python.org/cpython/rev/55a89352e220 New changeset c5fb8bc56def by Serhiy Storchaka in branch '3.3': Issue #17073: Fix some integer overflows in sqlite3 module. http://hg.python.org/cpython/rev/c5fb8bc56def New changeset b8a6bc70fc08 by Serhiy Storchaka in branch 'default': Issue #17073: Fix some integer overflows in sqlite3 module. http://hg.python.org/cpython/rev/b8a6bc70fc08 |
|||
| msg187976 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年04月28日 11:17 | |
New changeset 44fe1f5b07e3 by Serhiy Storchaka in branch '2.7': Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, http://hg.python.org/cpython/rev/44fe1f5b07e3 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:41 | admin | set | github: 61275 |
| 2013年04月28日 11:17:57 | python-dev | set | messages: + msg187976 |
| 2013年02月10日 18:19:12 | mark.dickinson | set | nosy:
+ mark.dickinson |
| 2013年02月07日 15:09:15 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2013年02月07日 15:08:27 | python-dev | set | nosy:
+ python-dev messages: + msg181618 |
| 2013年02月05日 15:49:53 | serhiy.storchaka | set | files:
+ sqlite_int_overflow_tests.patch assignee: serhiy.storchaka messages: + msg181448 |
| 2013年01月29日 17:06:31 | serhiy.storchaka | set | files:
+ sqlite_int_overflow-2.7.patch, sqlite_int_overflow-3.2.patch, sqlite_int_overflow-3.3.patch keywords: + patch |
| 2013年01月29日 17:01:48 | serhiy.storchaka | create | |