mirror of https://github.com/wolfSSL/wolfssh.git
As with OpenSSH scp, the client sends the remote path to the server's shell as given, with "--" before a path starting with "-". A control character in the path is refused with WS_BAD_ARGUMENT, since it would end or split the command. - wolfSSH_SCP_from works on a copy of dst, not the caller's const string - wolfscp.h: the remote shell expands the path; callers quote it - scpclient: test only for WS_FATAL_ERROR in the retry loop - tests: add MakeScpCmd cases, parsed back off Windows, and check SCP_from leaves dst unchanged Issue: F-12624, F-13319, F-12546 |
||
|---|---|---|
| .. | ||
| include.am | ||
| scpclient.c | ||
| scpclient.h | ||