wolfssh/wolfssh
John Safranek a879502632 sftp: check the request ID on every client reply
SFTP_CheckReqId() matches each reply header against the outstanding
request ID, advances the ID once on a match, and sets
WS_SFTP_BAD_REQ_ID on a mismatch. Every client response handler calls
it before acting on the reply, including the STATUS-only ones.

- DoName and GetHandle set WS_SFTP_BAD_REQ_TYPE on an unexpected
  reply type and free their state
- SetSTAT, Close, Remove and RMDIR now check the reply ID
- correct the WS_SFTP_BAD_REQ_TYPE comment in error.h
- test each request against a matched, misnumbered and mistyped reply

Issue: F-10547, F-13909, F-10566
2026-11-03 22:28:30 -06:00
..
agent.h agent: exchange whole messages when signing 2026-10-16 11:15:32 -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 Add kex integration test for ed25519 server key 2026-04-16 15:14:42 +09:00
error.h sftp: check the request ID on every client reply 2026-11-03 22:28:30 -06:00
include.am Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
internal.h Hold algorithm-list names to RFC 4251 format 2026-10-25 16:17:26 -05:00
keygen.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
log.h Add parameter names to function declarations 2026-06-09 17:03:02 -07:00
misc.h Export a constant-time compare to applications 2026-11-03 16:02:53 -06:00
ossh.h Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
port.h sftp: refuse dir REMOVE and replacing RENAME 2026-11-02 13:40:06 -06:00
settings.h Let a client-only build use SCP 2026-09-23 20:52:18 -05:00
ssh.h Export a constant-time compare to applications 2026-11-03 16:02:53 -06:00
test.h Build cleanly with a C++ compiler 2026-10-22 21:30:18 -05:00
version.h Prepare for release 1.6.0 2026-10-06 16:03:51 -06:00
version.h.in Release v1.4.22 2025-12-29 16:53:33 -08:00
visibility.h Release v1.4.22 2025-12-29 16:53:33 -08:00
wolfscp.h scp: match the scp command as a whole token 2026-09-15 21:55:50 -07:00
wolfsftp.h sftp: bound reply lengths before client allocs 2026-11-01 23:29:33 -06:00