]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Harden pyexpat initialisation (#105606) (#105669)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 21:35:13 +0000 (23:35 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 21:35:13 +0000 (21:35 +0000)
commitd310fc776ee4ba94a5128bd3c22a7904f6546470
tree663d2d9f3113e9fe77cc55a97ba5272ec4bd2706
parenta1034b5fd3af59d813452742153e60b40b39ff4a
[3.12] gh-105375: Harden pyexpat initialisation (#105606) (#105669)

(cherry picked from commit 20a56d8becba1a5a958b167fdb43b1a1b9228095)

Add proper error handling to add_errors_module() to prevent exceptions
from possibly being overwritten.
Misc/NEWS.d/next/Library/2023-06-09-23-00-13.gh-issue-105605.YuwqxY.rst [new file with mode: 0644]
Modules/pyexpat.c