summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-05-03 23:03:06 (GMT)
committerGitHub <noreply@github.com>2022-05-03 23:03:06 (GMT)
commitf629dcfe835e349433e4c5099381d668e8fe69c8 (patch)
tree8e33d2ac3c2f55a5404591ce116494a016248639 /Misc
parent836b17c9c3ea313e400e58a75f52b63f96e498bb (diff)
downloadcpython-f629dcfe835e349433e4c5099381d668e8fe69c8.zip
cpython-f629dcfe835e349433e4c5099381d668e8fe69c8.tar.gz
cpython-f629dcfe835e349433e4c5099381d668e8fe69c8.tar.bz2
gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#29054)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-22-11-01-45.bpo-36073.ED8mB9.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-06-22-11-01-45.bpo-36073.ED8mB9.rst b/Misc/NEWS.d/next/Library/2019-06-22-11-01-45.bpo-36073.ED8mB9.rst
new file mode 100644
index 0000000..6c214d8
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-06-22-11-01-45.bpo-36073.ED8mB9.rst
@@ -0,0 +1,2 @@
+Raise :exc:`~sqlite3.ProgrammingError` instead of segfaulting on recursive
+usage of cursors in :mod:`sqlite3` converters. Patch by Sergey Fedoseev.