]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126461: Fix _Unpickler_ReadFromFile() error handling (GH-126485) (#126496)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Nov 2024 13:49:25 +0000 (14:49 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 13:49:25 +0000 (13:49 +0000)
commit97ab3cf3749085f6f42f38180c40aa88ca1b6355
tree2cc777039e3842acbe021bd3e7a5a53ab587648a
parente6fd40ba1883040224128cbb30fa002827f18392
[3.12] gh-126461: Fix _Unpickler_ReadFromFile() error handling (GH-126485) (#126496)

gh-126461: Fix _Unpickler_ReadFromFile() error handling (GH-126485)

Handle _Unpickler_SetStringInput() failure.
(cherry picked from commit a1c57bcfd2bcbc55ff858407e09c1d8d8cee44e6)

Co-authored-by: Victor Stinner <vstinner@python.org>
Modules/_pickle.c