[New-bugs-announce] [issue27897] Avoid possible crash in pysqlite_connection_create_collation

Xiang Zhang report at bugs.python.org
Tue Aug 30 12:22:28 EDT 2016


New submission from Xiang Zhang:

When supplied a custom string with upper returning a non-string, pysqlite_connection_create_collation will fail assertion and crash. Serhiy, I think we can use the same way in set_isolation_level to avoid this.

----------
components: Library (Lib)
files: create_collation.patch
keywords: patch
messages: 273927
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
status: open
title: Avoid possible crash in pysqlite_connection_create_collation
type: crash
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file44276/create_collation.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27897>
_______________________________________


More information about the New-bugs-announce mailing list