Skip to content

Bogus SSHFS health check #4953

Description

@ricab

Describe the bug
The SftpServer calls release_channel() on the SSHFS SSHProcess, which nulls the channel field. But it later asks the process for the exit code, which internally registers an ExitStatusCallback with a null channel. An SSH_ERROR code is returned, but never handled.

The process's exit code can never be observed and every health check times out silently. Recovery is driven by EOF alone.

sftp_server_session{make_sftp_session(ssh_session, sshfs_process->release_channel())},

ssh_add_channel_callbacks(channel, &cb);

Metadata

Metadata

Assignees

Labels

jiraCreate a Jira ticket for this issuemediumMedium priority. Combine with "low" or "high" to signal intermediate priority.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions