Skip to content

os/exec: resource leak on exec failure [1.23 backport] #69402

Closed
@gopherbot

Description

@gopherbot

@ianlancetaylor requested issue #69284 to be considered for backport to the next 1.23 minor release.

@gopherbot Please open a backport issue to 1.23.

This causes os/exec to leak file descriptors when used to run a non-existent file on Linux. There is no simple workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releases

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions