From: Greg Hudson Date: Fri, 28 Oct 2011 15:53:50 +0000 (+0000) Subject: Initialize typed_e_data in as_req_state X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88c8464f681c274d399206f8ec567c88f1121aa4;p=krb5.git Initialize typed_e_data in as_req_state The typed_e_data field in struct as_req_state was not properly initialized, causing the KDC to sometimes respond with typed-data e_data for a preauth-required error when the client sends no padata. This bug was masked with recent clients, which send a KRB5_ENCPADATA_REQ_ENC_PA_REP padata. ticket: 6995 target_version: 1.10 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25419 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 9031b03aa..e09baf9ed 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -479,6 +479,7 @@ process_as_req(krb5_kdc_req *request, krb5_data *req_pkt, state->server = NULL; state->request = request; state->e_data = NULL; + state->typed_e_data = FALSE; state->authtime = 0; state->c_flags = 0; state->req_pkt = req_pkt;