diff options
author | delphij <delphij@FreeBSD.org> | 2016-11-02 06:58:47 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-11-02 06:58:47 +0000 |
commit | bb8c1d3b5e1d1ff2b26db3fcd0ca74e6418a4908 (patch) | |
tree | d592c7f049dd53b1b7b04bd710ce36439d1495fd /crypto/openssh | |
parent | f918b0afff547f9e3ed4b9998d038bb71e1839bb (diff) | |
download | FreeBSD-src-bb8c1d3b5e1d1ff2b26db3fcd0ca74e6418a4908.zip FreeBSD-src-bb8c1d3b5e1d1ff2b26db3fcd0ca74e6418a4908.tar.gz |
MFC r308197: MFV r308196:
Fix OpenSSH remote Denial of Service vulnerability.
Security: CVE-2016-8858
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/kex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssh/kex.c b/crypto/openssh/kex.c index d371f47..9c9f562 100644 --- a/crypto/openssh/kex.c +++ b/crypto/openssh/kex.c @@ -468,6 +468,7 @@ kex_input_kexinit(int type, u_int32_t seq, void *ctxt) if (kex == NULL) return SSH_ERR_INVALID_ARGUMENT; + ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, NULL); ptr = sshpkt_ptr(ssh, &dlen); if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0) return r; |