]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-140594: Fix an out of bounds read when feeding NUL byte to PyOS_StdioReadli...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Mar 2026 11:24:20 +0000 (12:24 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2026 11:24:20 +0000 (11:24 +0000)
commit295f21498ee617e94bd46b29ee20ad8a6d00ee21
tree823748686f32e029efffcb2cfafc2a5a55b76b2c
parent59be951e150f696ff234f981f839d9ae56143e17
[3.14] gh-140594: Fix an out of bounds read when feeding NUL byte to PyOS_StdioReadline() (GH-140910) (#145852)

gh-140594: Fix an out of bounds read when feeding NUL byte to PyOS_StdioReadline() (GH-140910)
(cherry picked from commit 86a0756234df7ce42fa4731c91067cb7f2e244d5)

Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_cmd_line.py
Misc/NEWS.d/next/Core_and_Builtins/2025-11-02-16-23-17.gh-issue-140594.YIWUpl.rst [new file with mode: 0644]
Parser/myreadline.c