wolfssh/wolfssh
John Safranek 9c8caea8b5 ssh: expose the session command length
An application vetting an exec or subsystem request in its channel
request callback is handed the command as a C string, which stops at an
embedded NUL. wolfSSH_ChannelGetSessionCommandSz() and
wolfSSH_GetSessionCommandSz() report the parsed wire length, so a
callback can match a name whole the way DoChannelRequest() does.

- both accessors report 0 for a NULL channel or session
- wolfSSH_GetSessionCommand() defers to the channel accessor
- the sftp divert in wolfSSH_accept() asks the accessor for the length
- correct the trace name in wolfSSH_ChannelGetSessionCommand()
- cover a callback seeing "sftp\0evil" through exec and subsystem
2026-09-10 17:14:23 -07:00
..
agent.h agent: commit the open on a completed flush 2026-09-08 11:50:40 -05:00
certman.h expand CI test for non-fpki build, fix check for error state with CertEnumCertificatesInStore, add extended key usage type check if present, fix for EKU checks with X509 use and add test case 2026-09-05 01:32:02 -07:00
certs_test.h
error.h expand CI test for non-fpki build, fix check for error state with CertEnumCertificatesInStore, add extended key usage type check if present, fix for EKU checks with X509 use and add test case 2026-09-05 01:32:02 -07:00
include.am
internal.h ssh, sftp: match the sftp subsystem name exactly 2026-09-10 17:14:23 -07:00
keygen.h
log.h
misc.h
ossh.h
port.h Fix remaining MinGW build errors in the regress/unit test build 2026-09-10 15:27:50 -07:00
settings.h
ssh.h ssh: expose the session command length 2026-09-10 17:14:23 -07:00
test.h 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
version.h
version.h.in
visibility.h
wolfscp.h SCP: let the application start the transfer 2026-09-08 10:17:42 -05:00
wolfsftp.h