mirror of https://github.com/wolfSSL/wolfssh.git
wolfSSH_SendIgnore() carries buf in the SSH_MSG_IGNORE it sends. A NULL buf with a zero bufSz still sends 128 zero bytes, and a NULL buf with a nonzero size is WS_BAD_ARGUMENT. So is a payload whose packet, with worst-case padding and MAC, would pass the peer's MAX_PACKET_SZ check; this also keeps the PreparePacket() size sums from wrapping. - internal: MAX_IGNORE_DATA_SZ bounds the payload like the peer check - regress: check the payload and the NULL default on the wire - regress: 0xFFFFFFFB and one over the bound fail cleanly - regress: the largest payload reaches a peer, plain and keyed, with the byte highwater off so a low DEFAULT_HIGHWATER_MARK cannot rekey Issue: F-7512 |
||
|---|---|---|
| .. | ||
| api.c | ||
| api.h | ||
| auth.c | ||
| auth.h | ||
| include.am | ||
| kex.c | ||
| kex.h | ||
| regress.c | ||
| sftp.c | ||
| sftp.h | ||
| testsuite.c | ||
| testsuite.h | ||
| unit.c | ||
| unit.h | ||