]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-123378: Ensure results of `PyUnicode*Error_Get{Start,End}` are clamped (GH-123380)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Wed, 4 Dec 2024 13:13:52 +0000 (14:13 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2024 13:13:52 +0000 (14:13 +0100)
commitbc0f2e945993747c8b1a6dd66cbe902fddd5758b
tree289cb0e345924f7ae72a0f6caa5b148d1380b021
parentad9d059eb10ef132edd73075fa6d8d96d95b8701
gh-123378: Ensure results of `PyUnicode*Error_Get{Start,End}` are clamped (GH-123380)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/c-api/exceptions.rst
Doc/library/exceptions.rst
Lib/test/test_capi/test_exceptions.py
Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst [new file with mode: 0644]
Misc/NEWS.d/next/C_API/2024-12-02-16-10-36.gh-issue-123378.Q6YRwe.rst [new file with mode: 0644]
Modules/_testcapi/exceptions.c
Objects/exceptions.c