From c4adc69165c1f191699c506c9c478e7c780c7873 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Mon, 2 Oct 1995 19:23:29 +0000 Subject: [PATCH] * 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 --- src/kadmin/v5client/ChangeLog | 5 +++++ src/kadmin/v5client/kadmin5.c | 1 + 2 files changed, 6 insertions(+) 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