]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 7 Nov 2025 10:18:06 +0000 (11:18 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Nov 2025 10:18:06 +0000 (10:18 +0000)
commitdcd2dbaf36ef8cb577b6c4f4117ba1822cecc375
tree1069e489ca7ae447e9e768e6bacc651457966dfa
parente753887bd2f61eba4bfeca05db3290693d027239
[3.13] gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903) (#141182)

gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903)

The limit includes a NULL terminator.
(cherry picked from commit 9a199006733dae999f96c0f596c2035f4b9847b2)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/multiprocessing/util.py
Misc/NEWS.d/next/Library/2025-11-02-09-37-22.gh-issue-140734.f8gST9.rst [new file with mode: 0644]