]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed (#146113)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Mar 2026 17:20:35 +0000 (18:20 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 17:20:35 +0000 (18:20 +0100)
commit724c7c8146f44a7c737ec4588a1ee4b9db994f6f
tree00c988808baddedcf9579500a12ca343984e5af7
parent6fe91a9e803e1cae6d7341a02f1f45244ec45b20
gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed (#146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.
Modules/_csv.c