diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2023-11-14 20:02:28 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 20:02:28 (GMT) |
| commit | 9302f05f9af07332c414b3c19003efd1b1763cf3 (patch) | |
| tree | 496fcbadb2abf8e0db779fa4e942fcfc9a91234c /Python/stdlib_module_names.h | |
| parent | 0ff6368519ed7542ad8b443de01108690102420a (diff) | |
| download | cpython-9302f05f9af07332c414b3c19003efd1b1763cf3.zip cpython-9302f05f9af07332c414b3c19003efd1b1763cf3.tar.gz cpython-9302f05f9af07332c414b3c19003efd1b1763cf3.tar.bz2 | |
gh-111942: Fix SystemError in the TextIOWrapper constructor (#112061)
In non-debug more the check for the "errors" argument is skipped,
and then PyUnicode_AsUTF8() can fail, but its result was not checked.
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/stdlib_module_names.h')
0 files changed, 0 insertions, 0 deletions
