canonical / canonical/multipass
No error handling in SSH session shutdown
Open
jira
- Dominant language
- C++
- Stars
- 9.2k
- Forks
- 828
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 44
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.