diff options
author | glebius <glebius@FreeBSD.org> | 2016-01-14 22:40:46 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2016-01-14 22:40:46 +0000 |
commit | 618568086050717fd13a39836abad61fedcf4181 (patch) | |
tree | 423c3231bffb0660a51569d329ac409c0ae0f950 /crypto/openssh/readconf.c | |
parent | 07212910c5970e08e1821fbe7d0701a0d9353872 (diff) | |
download | FreeBSD-src-618568086050717fd13a39836abad61fedcf4181.zip FreeBSD-src-618568086050717fd13a39836abad61fedcf4181.tar.gz |
Fix OpenSSH client information leak.
Security: SA-16:07.openssh
Security: CVE-2016-0777
Diffstat (limited to 'crypto/openssh/readconf.c')
-rw-r--r-- | crypto/openssh/readconf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/openssh/readconf.c b/crypto/openssh/readconf.c index 700a79b..9cf6ab9 100644 --- a/crypto/openssh/readconf.c +++ b/crypto/openssh/readconf.c @@ -1610,7 +1610,7 @@ initialize_options(Options * options) options->tun_remote = -1; options->local_command = NULL; options->permit_local_command = -1; - options->use_roaming = -1; + options->use_roaming = 0; options->visual_host_key = -1; options->ip_qos_interactive = -1; options->ip_qos_bulk = -1; @@ -1788,8 +1788,7 @@ fill_default_options(Options * options) options->tun_remote = SSH_TUNID_ANY; if (options->permit_local_command == -1) options->permit_local_command = 0; - if (options->use_roaming == -1) - options->use_roaming = 1; + options->use_roaming = 0; if (options->visual_host_key == -1) options->visual_host_key = 0; if (options->ip_qos_interactive == -1) |