Skip to content

No error handling in SSH session shutdown #4963

Description

@ricab

Describe the bug
PlainSSHSession's dtor lets exceptions through and PlainSSHSession::force_shutdown discards ::shutdown's return value and doesn't check for an invalid socket fd (-1), masking failures silently.

Metadata

Metadata

Assignees

Labels

jiraCreate a Jira ticket for this issue

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions