mirror of https://github.com/wolfSSL/wolfssh.git
- The child's stdin pipe and the pty master are closed before the reap. The reap polls waitpid() with WNOHANG for WOLFSSHD_CHILD_REAP_TRIES x WOLFSSHD_CHILD_REAP_WAIT_US, then sends SIGKILL; a failed kill() is logged and ends the wait. - ChildSig is installed before forkpty() instead of after it. - An EIO read from the pty master ends the child's output instead of the loop. - A held backlog is sent with SHELL_FlushOut() before the pipe drain; the drain is skipped when the backlog is not sent. - New sshd_channel_close_test.sh (paramiko) closes the channel while output is held, for an exec command and a pty shell, and checks that the command and the connection both end; it also checks exit status 3 from an exec and an interactive shell. run_all runs it. - sshd-test.yml and code-coverage.yml install python3-paramiko through install-apt-deps, and the ubuntu-24.04-tests bundle lists it. |
||
|---|---|---|
| .. | ||
| wolfssh | ||
| wolfsshd | ||
| include.am | ||
| wolfssh-options.c | ||