]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140979: Fix off-by-one error in the RE code validator (GH-140984)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 4 Nov 2025 15:49:44 +0000 (17:49 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Nov 2025 15:49:44 +0000 (17:49 +0200)
commit1326d2a808245e5f2de9e515460bab30556e8f05
treeca63865477b9d5d05e545ac78640fdca710b8b60
parentfa9c3eefd475f0647a69bf3f49db8100848fb6a9
gh-140979: Fix off-by-one error in the RE code validator (GH-140984)

It was too lenient and allowed MARK opcodes with too large value.
Modules/_sre/sre.c