]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89653: Add assertions on PyUnicode_READ() index (#92883)
authorVictor Stinner <vstinner@python.org>
Tue, 17 May 2022 17:43:19 +0000 (19:43 +0200)
committerGitHub <noreply@github.com>
Tue, 17 May 2022 17:43:19 +0000 (19:43 +0200)
commit13058323621bfb1776fc39948a4096c76f8cbc81
tree32b9923eac5b2d6bd6e2ce12c0296a2374eb542f
parente6fd7992a92879103215b3e9f218fe07212af9b1
gh-89653: Add assertions on PyUnicode_READ() index (#92883)

Add assertions on the index argument of PyUnicode_READ(),
PyUnicode_READ_CHAR() and PyUnicode_WRITE() functions.
Include/cpython/unicodeobject.h