]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Harden pyexpat initialisation (#105606) (#105668)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 21:28:12 +0000 (23:28 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 21:28:12 +0000 (21:28 +0000)
commite5fe017143bd259ec3a825029e3a6e30f612089c
tree2212a9d9d0908746f55d04cf61e62bbda2dbb92f
parentf98d475ee311268b28a9fc598a4efd22696d1208
[3.11] gh-105375: Harden pyexpat initialisation (#105606) (#105668)

(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