From 9da77f6c948da8ac223b99f8e085c3d384787bff Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 31 Mar 2009 22:35:59 +0000 Subject: [PATCH] Initialize request state in the TGS path ticket: 6436 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22151 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_tgs_req.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 5af773046..e06d94dfc 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -164,6 +164,11 @@ process_tgs_req(krb5_data *pkt, const krb5_fulladdr *from, status="UNEXPECTED NULL in header_ticket"; goto cleanup; } + errcode = kdc_make_rstate(&state); + if (errcode !=0) { + status = "making state"; + goto cleanup; + } scratch.length = pa_tgs_req->length; scratch.data = (char *) pa_tgs_req->contents; errcode = kdc_find_fast(&request, &scratch, subkey, header_ticket->enc_part2->session, state); -- 2.26.2