[issue17073] Integer overflow in sqlite module

2013-04-28 Thread Roundup Robot

Roundup Robot added the comment:

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

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-02-10 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
nosy: +mark.dickinson

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-02-07 Thread Roundup Robot

Roundup Robot added the comment:

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

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-02-07 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-02-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here are tests for some bugs.

--
assignee:  - serhiy.storchaka
Added file: http://bugs.python.org/file28965/sqlite_int_overflow_tests.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-01-29 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

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.

--
components: Extension Modules
messages: 180915
nosy: ghaering, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Integer overflow in sqlite module
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17073] Integer overflow in sqlite module

2013-01-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file28893/sqlite_int_overflow-2.7.patch
Added file: http://bugs.python.org/file28894/sqlite_int_overflow-3.2.patch
Added file: http://bugs.python.org/file28895/sqlite_int_overflow-3.3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17073
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com