]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 29 Oct 2025 13:54:37 +0000 (14:54 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Oct 2025 13:54:37 +0000 (13:54 +0000)
commitc45ab05a3ad779ba7316714eacae75d25944cd73
tree82ceed5af0ad83bfb4b375e0e22d975da6d969ee
parente0f54a0bdab5e804568744156b9507e86037ea2a
[3.14] gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH-140583) (#140757)

gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH-140583)
(cherry picked from commit 8706167474e9a625e5f6613d3c7ac77a62faff58)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
Lib/test/test_tokenize.py
Misc/NEWS.d/next/Core_and_Builtins/2025-10-25-17-36-46.gh-issue-140576.kj0SCY.rst [new file with mode: 0644]
Parser/lexer/lexer.c