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.

Author serhiy.storchaka
Recipients ghaering, serhiy.storchaka
Date 2013-01-29.17:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359478908.69.0.671503350697.issue17073@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-01-29 17:01:48serhiy.storchakasetrecipients: + serhiy.storchaka, ghaering
2013-01-29 17:01:48serhiy.storchakasetmessageid: <1359478908.69.0.671503350697.issue17073@psf.upfronthosting.co.za>
2013-01-29 17:01:48serhiy.storchakalinkissue17073 messages
2013-01-29 17:01:48serhiy.storchakacreate