gh-127971: fix off-by-one read beyond the end of a string during sear… · wrongnull/cpython@85ec3b3 · GitHub
Skip to content

Commit 85ec3b3

Browse files
authored
pythongh-127971: fix off-by-one read beyond the end of a string during search (python#132574)
1 parent a93d9aa commit 85ec3b3

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

Lib/test/string_tests.py

Lines changed: 9 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix off-by-one read beyond the end of a string in string search.

Objects/stringlib/fastsearch.h

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)