Skip to content

Conversation

ethomson
Copy link
Member

process->status is a status value; we were mistakenly trying to close it as a file descriptor, as if it were the status self-pipe that we open during process creation.

Instead, don't try to close it, as it's not a file descriptor.

Fixes #6686

`process->status` is a status value; we were mistakenly trying to close
it as a file descriptor, as if it were the `status` self-pipe that we open
during process creation.

Instead, don't try to close it, as it's not a file descriptor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libgit2 tries to close an invalid file descriptor when using OpenSSH
1 participant