From dc5af3973c696e6796495534c086e50994bdbe75 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Fri, 10 Mar 2000 21:16:28 +0000 Subject: [PATCH] get_in_tkt.c (krb5_get_init_creds): Always initialize local_as_reply to avoid returning garbage on error returns git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12097 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/get_in_tkt.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index a905bd2c1..98c7b1e1a 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2000-03-10 Miro Jurisic + + * get_in_tkt.c (krb5_get_init_creds): Always initialize local_as_reply + to avoid returning garbage on error returns. + 2000-02-25 Ken Raeburn * preauth2.c (krb5_do_preauth): Check paorder[h] not h for diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 84fdb5213..4ca50e209 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -734,6 +734,8 @@ krb5_get_init_creds(context, creds, client, prompter, prompter_data, salt.length = 0; salt.data = NULL; + local_as_reply = 0; + /* * Set up the basic request structure */ -- 2.26.2