mirror of https://github.com/wolfSSL/wolfssh.git
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 |
||
|---|---|---|
| .. | ||
| agent.h | ||
| certman.h | ||
| certs_test.h | ||
| error.h | ||
| include.am | ||
| internal.h | ||
| keygen.h | ||
| log.h | ||
| misc.h | ||
| ossh.h | ||
| port.h | ||
| settings.h | ||
| ssh.h | ||
| test.h | ||
| version.h | ||
| version.h.in | ||
| visibility.h | ||
| wolfscp.h | ||
| wolfsftp.h | ||