Skip to content

ssh: badmatch in ssh:daemon_replace_options/2 #9544

@alexandrejbr

Description

@alexandrejbr

Describe the bug
ssh:daemon_replace_options/2 can crash if the daemon no longer exists.

To Reproduce

ssh:daemon_replace_options(self(), []).

Expected behavior
A crash should not happen but instead an error should be returned.

Affected versions
OTP-25, OTP-26, OTP-27 and OTP-28-RC1

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bugteam:PSAssigned to OTP team PS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions