summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2018-12-05 17:50:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-12-05 17:50:26 (GMT)
commit5b25f1d03100e2283c1b129d461ba68ac0169a14 (patch)
tree071d15ff6170a1180a57e35ee703b6b27e6d0046 /Misc/NEWS.d
parentf2f4555d8287ad217a1dba7bbd93103ad4daf3a8 (diff)
downloadcpython-5b25f1d03100e2283c1b129d461ba68ac0169a14.zip
cpython-5b25f1d03100e2283c1b129d461ba68ac0169a14.tar.gz
cpython-5b25f1d03100e2283c1b129d461ba68ac0169a14.tar.bz2
bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-07-24-16-37-40.bpo-34052.VbbFAE.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-24-16-37-40.bpo-34052.VbbFAE.rst b/Misc/NEWS.d/next/Library/2018-07-24-16-37-40.bpo-34052.VbbFAE.rst
new file mode 100644
index 0000000..5aa3cc9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-24-16-37-40.bpo-34052.VbbFAE.rst
@@ -0,0 +1,7 @@
+:meth:`sqlite3.Connection.create_aggregate`,
+:meth:`sqlite3.Connection.create_function`,
+:meth:`sqlite3.Connection.set_authorizer`,
+:meth:`sqlite3.Connection.set_progress_handler` methods raises TypeError
+when unhashable objects are passed as callable. These methods now don't pass
+such objects to SQLite API. Previous behavior could lead to segfaults. Patch
+by Sergey Fedoseev.