diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb425/get_cred.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/krb425/get_cred.c b/src/lib/krb425/get_cred.c index a97209e96..69bfe6f57 100644 --- a/src/lib/krb425/get_cred.c +++ b/src/lib/krb425/get_cred.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1990 by the Massachusetts Institute of Technology. + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * <krb5/copyright.h>. @@ -15,7 +16,6 @@ static char rcsid_get_cred_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> #include "krb425.h" int @@ -47,6 +47,7 @@ CREDENTIALS *c; if (!client_principal) krb5_cc_get_principal(_krb425_ccache, &client_principal); + memset((char *)&creds, 0, sizeof(creds)); creds.client = client_principal; creds.server = server; creds.times.endtime = 0; |
