]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Improve error handling in sqlite3 collation callback (GH-105412...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Jun 2023 11:43:18 +0000 (04:43 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 11:43:18 +0000 (11:43 +0000)
commitbb6ea7200397d2a9650c5d8c7d08acef11edd39b
tree9bac2f65184ca1c3a03dcfb264955848685f113f
parentc84d4d165dd92e41d6d8661e71b9fd9ac03bfd9e
[3.12] gh-105375: Improve error handling in sqlite3 collation callback (GH-105412) (#105440)

Check for error after each call to PyUnicode_FromStringAndSize().
(cherry picked from commit a24a780d937109a0982d807473ae410cc75b0e3b)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-07-00-09-52.gh-issue-105375.Y_9D4n.rst [new file with mode: 0644]
Modules/_sqlite/connection.c