Issue: SSH handshake does not enforce message ordering, leading to potential undefined behavior
Issue: SSH handshake does not enforce message ordering, leading to potential undefined behavior: a task in LegoFlow-SWE (Harbor dataset). Description The wolfSSH library currently does not properly validate the order of SSH protocol messages during the key exchange (KEX) and handshake phases. As a…
The task
**Description** The wolfSSH library currently does not properly validate the order of SSH protocol messages during the key exchange (KEX) and handshake phases. As a result, when a peer sends messages out of sequence—for example, sending a key exchange message like `SSH_MSG_KEXINIT` when the handshake is not yet in…
Part of Lego-X/LegoFlow-SWE.