]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105375: Harden pyexpat initialisation (#105606)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 20:18:46 +0000 (22:18 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 20:18:46 +0000 (20:18 +0000)
commit20a56d8becba1a5a958b167fdb43b1a1b9228095
treecada470393126a842ec5beb0eb183bf45bf6017a
parent41cddc2e93a285b81fa30ac542b088bd9d0112e9
gh-105375: Harden pyexpat initialisation (#105606)

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