gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` by picnixz · Pull Request #140903 · python/cpython · GitHub

github.com

Tin mới

picnixz:fix/multiprocessing/sun-path-max-140734

miss-islington-app

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Off-by-one error in Lib/multiprocessing/util.py _SUN_PATH_MAX calculation causes forkserver OSError: AF_UNIX path too long #140734

fix off-by-one error when comparing to _SUN_PATH_MAX

awaiting core review

awaiting core review

needs backport to 3.13

needs backport to 3.13

needs backport to 3.14

needs backport to 3.14

View reviewed changes

Merge branch 'main' into fix/multiprocessing/sun-path-max-140734

: fix off-by-one error when comparing to `_SUN_PATH_MA…

bedevere-app Bot commented Nov 7, 2025

bedevere-app Bot commented Nov 7, 2025

GH-141181 is a backport of this pull request to the 3.14 branch.

: fix off-by-one error when comparing to `_SUN_PATH_MA…

: fix off-by-one error when comparing to `_SUN_PATH_M…

: fix off-by-one error when comparing to `_SUN_PATH_M…

: fix off-by-one error when comparing to `_SUN_PATH_MA…