Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist CID 1018734: Fix uninit



details:   https://anonhg.NetBSD.org/src/rev/8fa6ccd7ddc0
branches:  trunk
changeset: 337387:8fa6ccd7ddc0
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 13 17:38:20 2015 +0000

description:
CID 1018734: Fix uninit

diffstat:

 crypto/external/bsd/openssh/dist/packet.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6ea7380dcd28 -r 8fa6ccd7ddc0 crypto/external/bsd/openssh/dist/packet.c
--- a/crypto/external/bsd/openssh/dist/packet.c Mon Apr 13 17:35:16 2015 +0000
+++ b/crypto/external/bsd/openssh/dist/packet.c Mon Apr 13 17:38:20 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: packet.c,v 1.17 2015/04/08 15:49:46 christos Exp $     */
+/*     $NetBSD: packet.c,v 1.18 2015/04/13 17:38:20 christos Exp $     */
 /* $OpenBSD: packet.c,v 1.208 2015/02/13 18:57:00 markus Exp $ */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: packet.c,v 1.17 2015/04/08 15:49:46 christos Exp $");
+__RCSID("$NetBSD: packet.c,v 1.18 2015/04/13 17:38:20 christos Exp $");
 #include <sys/param.h> /* MIN roundup */
 #include <sys/types.h>
 #include <sys/queue.h>
@@ -1262,7 +1262,7 @@
 ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
 {
        struct session_state *state = ssh->state;
-       int len, r, ms_remain, cont;
+       int len, r, ms_remain = 0, cont;
        fd_set *setp;
        char buf[8192];
        struct timeval timeout, start, *timeoutp = NULL;



Home | Main Index | Thread Index | Old Index