projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda7aac
)
bug fix from Bill Sommerfeld: zero out my_creds to avoid
author
John Kohl
<jtkohl@mit.edu>
Thu, 18 Oct 1990 10:29:39 +0000
(10:29 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/clients/kinit/kinit.c
b/src/clients/kinit/kinit.c
index 7342f19105c8cfbff2d640c30f38476d14ee2ec0..3e1f1e191c5ae534a1ed931fddd90cba60712527 100644
(file)
--- 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;