bug fix from Bill Sommerfeld: zero out my_creds to avoid
authorJohn Kohl <jtkohl@mit.edu>
Thu, 18 Oct 1990 10:29:39 +0000 (10:29 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 18 Oct 1990 10:29:39 +0000 (10:29 +0000)
stack garbage.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1254 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kinit/kinit.c

index 7342f19105c8cfbff2d640c30f38476d14ee2ec0..3e1f1e191c5ae534a1ed931fddd90cba60712527 100644 (file)
@@ -130,6 +130,8 @@ main(argc, argv)
        exit(1);
     }
 
+    bzero(&my_creds, sizeof(my_creds));
+    
     my_creds.client = me;
     my_creds.server = server;