]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:21:43 +0000 (12:21 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2026 11:21:43 +0000 (11:21 +0000)
commite98936171b994c6218fb56bcf1bc414e94704fcc
tree6a84cd1b9606fb17db21a02134994d9bc06821ec
parentcef423cbe20dab5af89f4cbcfc9abda3cd5ba9f5
[3.13] gh-140594: Fix an out of bounds read when feeding NUL byte to PyOS_StdioReadline() (GH-140910) (#145853)

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