- djm@cvs.openbsd.org 2004/03/08 09:38:05

[ssh-keyscan.c]
     explicitly initialise remote_major and remote_minor.
     from cjwatson AT debian.org; ok markus@
This commit is contained in:
Damien Miller 2004-03-08 23:13:00 +11:00
parent bd394c329b
commit 3b51301a4b
2 changed files with 7 additions and 3 deletions

View File

@ -23,6 +23,10 @@
- markus@cvs.openbsd.org 2004/03/05 10:53:58
[readconf.c readconf.h scp.1 sftp.1 ssh.1 ssh_config.5 sshconnect2.c]
add IdentitiesOnly; ok djm@, pb@
- djm@cvs.openbsd.org 2004/03/08 09:38:05
[ssh-keyscan.c]
explicitly initialise remote_major and remote_minor.
from cjwatson AT debian.org; ok markus@
20040307
- (tim) [regress/login-timeout.sh] fix building outside of source tree.
@ -883,4 +887,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3283 2004/03/08 12:12:36 djm Exp $
$Id: ChangeLog,v 1.3284 2004/03/08 12:13:00 djm Exp $

View File

@ -7,7 +7,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $");
RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $");
#include "openbsd-compat/sys-queue.h"
@ -489,7 +489,7 @@ conrecycle(int s)
static void
congreet(int s)
{
int remote_major, remote_minor, n = 0;
int remote_major = 0, remote_minor = 0, n = 0;
char buf[256], *cp;
char remote_version[sizeof buf];
size_t bufsiz;