From e4e2900e3ac43dbecf74603d42839a6aa55d99b5 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 18 Oct 1990 10:29:39 +0000 Subject: [PATCH] bug fix from Bill Sommerfeld: zero out my_creds to avoid stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1254 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/kinit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index 7342f1910..3e1f1e191 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -130,6 +130,8 @@ main(argc, argv) exit(1); } + bzero(&my_creds, sizeof(my_creds)); + my_creds.client = me; my_creds.server = server; -- 2.26.2