From bf09b008be3f571ac5ea4b85dc6a3537c7e5cd12 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 7 Nov 2011 22:35:39 +0000 Subject: [PATCH] pull up r25419 from trunk ------------------------------------------------------------------------ r25419 | ghudson | 2011-10-28 11:53:50 -0400 (Fri, 28 Oct 2011) | 11 lines ticket: 6995 subject: Initialize typed_e_data in as_req_state target_version: 1.10 tags: pullup 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 version_fixed: 1.10 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25450 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_as_req.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.26.2