diff options
author | Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | 2022-05-16 15:39:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 15:39:17 (GMT) |
commit | 69cf0203ab47692efbc261c028e15e0d7a245c57 (patch) | |
tree | 77bee6f7687052409e13b72d19429c5a639eb02c /Misc | |
parent | 7ccdec3d1d837b910cd4fc5525ecde71a1326202 (diff) | |
download | cpython-69cf0203ab47692efbc261c028e15e0d7a245c57.zip cpython-69cf0203ab47692efbc261c028e15e0d7a245c57.tar.gz cpython-69cf0203ab47692efbc261c028e15e0d7a245c57.tar.bz2 |
[3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 converters (#92333)
(cherry picked from commit c908dc5b4798c311981bd7e1f7d92fb623ee448b)
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.rst | 2 |
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. |