diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-11-02 06:49:25 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-11-02 06:49:25 +0000 |
commit | 56e6c4251c09cd58fa3100037e05e7c8ec00709c (patch) | |
tree | b9d858da474592f91a9d0f7c886e6f0df6bde14b /crypto | |
parent | e9915a079c7da7610d8ead2ccb6f0e48d71c697b (diff) | |
parent | 642a1c3843c9c824a6fbcee4d340d711bc049aa9 (diff) | |
download | src-56e6c4251c09cd58fa3100037e05e7c8ec00709c.tar.gz src-56e6c4251c09cd58fa3100037e05e7c8ec00709c.zip |
MFV r308196:
Fix OpenSSH remote Denial of Service vulnerability.
Security: CVE-2016-8858
Notes
Notes:
svn path=/head/; revision=308197
Diffstat (limited to 'crypto')
-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 d371f47c48dd..9c9f56228ea5 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; |