From 651daefda2ed48e45beeb211eca31c64fd06e19b Mon Sep 17 00:00:00 2001 From: Paul Park Date: Thu, 27 Apr 1995 20:42:03 +0000 Subject: [PATCH] Clear replaydata block before calling mk_safe_basic git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5571 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/mk_safe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/krb5/krb/mk_safe.c b/src/lib/krb5/krb/mk_safe.c index 47238c490..29eac3ee3 100644 --- a/src/lib/krb5/krb/mk_safe.c +++ b/src/lib/krb5/krb/mk_safe.c @@ -129,6 +129,9 @@ krb5_mk_safe(context, auth_context, userdata, outbuf, outdata) krb5_keyblock * keyblock; krb5_replay_data replaydata; + /* Clear replaydata block */ + memset((char *) &replaydata, 0, sizeof(krb5_replay_data)); + /* Get keyblock */ if ((keyblock = auth_context->local_subkey) == NULL) if ((keyblock = auth_context->remote_subkey) == NULL) -- 2.26.2