]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122)
authorVictor Stinner <vstinner@python.org>
Fri, 20 Oct 2023 18:04:27 +0000 (20:04 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 18:04:27 +0000 (20:04 +0200)
commit37e4e20eaa8f27ada926d49e5971fecf0477ad26
tree10c1472611083eee037ff84f88617ae0ba9b8fe4
parentea7c26e4b89c71234c4a603567a93f0a44c9cc97
gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122)

PyUnicode_AsUTF8() now raises an exception if the string contains
embedded null characters.
Modules/_sqlite/connection.c