]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-127971: fix off-by-one read beyond the end of a string during search (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 13 Jul 2025 13:58:03 +0000 (15:58 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 13:58:03 +0000 (13:58 +0000)
commit348e22cf060695fbd57f099b94f0f9067bb49fca
tree5922d8aed5cc0fd74bb75ef1fa2673dc10ebfecf
parented1e0cdc581d328177992e45c74d497c7da22ce2
[3.14] gh-127971: fix off-by-one read beyond the end of a string during search (GH-132574) (#136628)

gh-127971: fix off-by-one read beyond the end of a string during search (GH-132574)
(cherry picked from commit 85ec3b3b503ffd5b7e45f8b3fa2cec0c10e4bef0)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
Lib/test/string_tests.py
Misc/NEWS.d/next/Core_and_Builtins/2025-04-16-12-01-13.gh-issue-127971.pMDOQ0.rst [new file with mode: 0644]
Objects/stringlib/fastsearch.h