Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/rlogin dest_realm is used uninitialized! How did thi...



details:   https://anonhg.NetBSD.org/src/rev/52a9b8ce4036
branches:  trunk
changeset: 472493:52a9b8ce4036
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 30 15:44:21 1999 +0000

description:
dest_realm is used uninitialized! How did this ever work?

diffstat:

 usr.bin/rlogin/rlogin.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r adf4db37558e -r 52a9b8ce4036 usr.bin/rlogin/rlogin.c
--- a/usr.bin/rlogin/rlogin.c   Fri Apr 30 15:31:18 1999 +0000
+++ b/usr.bin/rlogin/rlogin.c   Fri Apr 30 15:44:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rlogin.c,v 1.21 1998/07/11 07:17:25 mrg Exp $  */
+/*     $NetBSD: rlogin.c,v 1.22 1999/04/30 15:44:21 christos Exp $     */
 
 /*
  * Copyright (c) 1983, 1990, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)rlogin.c   8.4 (Berkeley) 4/29/95";
 #else
-__RCSID("$NetBSD: rlogin.c,v 1.21 1998/07/11 07:17:25 mrg Exp $");
+__RCSID("$NetBSD: rlogin.c,v 1.22 1999/04/30 15:44:21 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -178,7 +178,7 @@
        int through_once = 0;
        char *cp = (char *) NULL;
        extern int _kstream_des_debug_OOB;
-       char *dest_realm;
+       char *dest_realm = NULL;
 #endif
 
        argoff = dflag = 0;



Home | Main Index | Thread Index | Old Index