svn rev #25419: trunk/src/kdc/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri Oct 28 11:53:50 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25419
Commit By: ghudson
Log Message:
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.
Changed Files:
U trunk/src/kdc/do_as_req.c
Modified: trunk/src/kdc/do_as_req.c
===================================================================
--- trunk/src/kdc/do_as_req.c 2011-10-28 15:45:03 UTC (rev 25418)
+++ trunk/src/kdc/do_as_req.c 2011-10-28 15:53:50 UTC (rev 25419)
@@ -479,6 +479,7 @@
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;
More information about the cvs-krb5
mailing list