Skip to content

subprocess.Popen() leaks cwd in case of uid/gid overflow #86312

Description

@izbyshev
mannequin
BPO 42146
Nosy @gpshead, @izbyshev, @miss-islington, @patrick-mclean
PRs
  • bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow #22966
  • bpo-42146: Unify cleanup in subprocess_fork_exec() #22970
  • [3.9] bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow (GH-22966) #22980
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/izbyshev'
    closed_at = <Date 2020-11-01.05:36:27.395>
    created_at = <Date 2020-10-25.12:30:55.592>
    labels = ['extension-modules', '3.9', '3.10', 'performance']
    title = 'subprocess.Popen() leaks cwd in case of uid/gid overflow'
    updated_at = <Date 2020-11-01.05:36:27.394>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2020-11-01.05:36:27.394>
    actor = 'gregory.p.smith'
    assignee = 'izbyshev'
    closed = True
    closed_date = <Date 2020-11-01.05:36:27.395>
    closer = 'gregory.p.smith'
    components = ['Extension Modules']
    creation = <Date 2020-10-25.12:30:55.592>
    creator = 'izbyshev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42146
    keywords = ['patch', '3.9regression']
    message_count = 6.0
    messages = ['379575', '379579', '379623', '379626', '379646', '380116']
    nosy_count = 4.0
    nosy_names = ['gregory.p.smith', 'izbyshev', 'miss-islington', 'patrick.mclean']
    pr_nums = ['22966', '22970', '22980']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue42146'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.9 (EOL)end of lifeextension-modulesC modules in the Modules dirperformancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions