From f91baf6b28b1362716989227c1dfa0ea92b48101 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 10 Apr 1999 22:18:56 +0000 Subject: [PATCH] (krb5_forward_cred): zero out creds git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5919 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rsh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appl/rsh/rsh.c b/appl/rsh/rsh.c index 17cb91abf..e8a372b4b 100644 --- a/appl/rsh/rsh.c +++ b/appl/rsh/rsh.c @@ -164,6 +164,8 @@ krb5_forward_cred (krb5_auth_context auth_context, krb5_data out_data; krb5_principal principal; + memset (&creds, 0, sizeof(creds)); + ret = krb5_cc_default (context, &ccache); if (ret) { warnx ("could not forward creds: krb5_cc_default: %s",