]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:27:14 +0000 (11:27 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Nov 2025 10:27:14 +0000 (10:27 +0000)
commitcf48ead02b13baa01af9db88026c50cabee30739
tree6570d4478cdade85d042f27f62aa5421e3191763
parenta49d0ccdb8c621e73e7344eb4aac3e9d71b99da0
[3.14] gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903) (#141181)

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]