wolfssh/tests
John Safranek 3516fb00a0 ssh, sftp: match the sftp subsystem name exactly
The built-in SFTP server takes a session only when the subsystem name
is sftp, matched whole. DoChannelRequest() keeps the parsed length in
channel->commandSz, so neither wolfSSH_SFTP_accept()'s grant gate nor
wolfSSH_accept()'s divert serves "sftpx" or "sftp\0evil".

- cover a granted name longer than sftp, one of its length, and one
  running past an embedded NUL
- cover the divert with those three names and a control that diverts
- exec keeps its command length too

Issue: F-11665
2026-09-10 17:14:23 -07:00
..
api.c scp: return directory entries from the Zephyr entry walk 2026-09-10 15:28:17 -07:00
api.h
auth.c examples, tests: terminate the ES_ERROR messages with a newline 2026-08-28 18:22:34 -05:00
auth.h
include.am client: fix keyboard-interactive responses 2026-08-10 10:31:07 -06:00
kex.c internal: Refactor and gate ML-DSA composite key handling 2026-09-02 15:35:09 -07:00
kex.h
regress.c ssh, sftp: match the sftp subsystem name exactly 2026-09-10 17:14:23 -07:00
sftp.c fix for flags handling, ocsp case, macro guards, unused variable, changed default from MY to required to be set 2026-09-05 01:32:02 -07:00
sftp.h
testsuite.c scp: fix duplicate file header on send 2026-08-04 12:20:49 -04:00
testsuite.h
unit.c tests: cover application-driven channels 2026-09-10 17:14:23 -07:00
unit.h