From: Mark Eichin Date: Mon, 2 Oct 1995 19:23:29 +0000 (+0000) Subject: * kadmin5.c (kadmin_startup): initialize action before strcat'ing X-Git-Tag: krb5-1.0-beta6~950 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4adc69165c1f191699c506c9c478e7c780c7873;p=krb5.git * kadmin5.c (kadmin_startup): initialize action before strcat'ing on to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6918 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v5client/ChangeLog b/src/kadmin/v5client/ChangeLog index 05dbd1f11..c999b401c 100644 --- a/src/kadmin/v5client/ChangeLog +++ b/src/kadmin/v5client/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 29 14:44:24 1995 Mark Eichin + + * kadmin5.c (kadmin_startup): initialize action before strcat'ing + on to it. + Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu) * kadmin5.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g diff --git a/src/kadmin/v5client/kadmin5.c b/src/kadmin/v5client/kadmin5.c index 749cf0d3a..57cca4f5c 100644 --- a/src/kadmin/v5client/kadmin5.c +++ b/src/kadmin/v5client/kadmin5.c @@ -1726,6 +1726,7 @@ kadmin_startup(argc, argv) n2alloc++; if (action = (char *) malloc(n2alloc)) { + action[0] = 0; for (i=optind; i