From: Tom Yu Date: Thu, 15 Aug 2002 20:20:59 +0000 (+0000) Subject: * kvno.c (do_v4_kvno): Initialize name, inst, realm to empty X-Git-Tag: krb5-1.3-alpha1~503 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf87ad4667a914122f2eaa5de924a4daa80f7af8;p=krb5.git * kvno.c (do_v4_kvno): Initialize name, inst, realm to empty strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14725 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kvno/ChangeLog b/src/clients/kvno/ChangeLog index 77f1a2559..380b58231 100644 --- a/src/clients/kvno/ChangeLog +++ b/src/clients/kvno/ChangeLog @@ -1,3 +1,8 @@ +2002-08-15 Tom Yu + + * kvno.c (do_v4_kvno): Initialize name, inst, realm to empty + strings. + 2002-07-30 Ezra Peisach * kvno.c (do_v4_kvno): If not compiling with v4 support, xusage diff --git a/src/clients/kvno/kvno.c b/src/clients/kvno/kvno.c index d007fa238..505a73c87 100644 --- a/src/clients/kvno/kvno.c +++ b/src/clients/kvno/kvno.c @@ -106,6 +106,7 @@ static void do_v4_kvno (int count, char *names[]) char name[ANAME_SZ], inst[INST_SZ], realm[REALM_SZ]; KTEXT_ST req; CREDENTIALS creds; + *name = *inst = *realm = '\0'; err = kname_parse (name, inst, realm, names[i]); if (err) { fprintf(stderr, "%s: error parsing name '%s': %s\n",