svn rev #22151: trunk/src/kdc/

hartmans@MIT.EDU hartmans at MIT.EDU
Tue Mar 31 18:35:59 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22151
Commit By: hartmans
Log Message:
ticket: 6436

Initialize request state in the TGS path.


Changed Files:
U   trunk/src/kdc/do_tgs_req.c
Modified: trunk/src/kdc/do_tgs_req.c
===================================================================
--- trunk/src/kdc/do_tgs_req.c	2009-03-31 17:12:44 UTC (rev 22150)
+++ trunk/src/kdc/do_tgs_req.c	2009-03-31 22:35:59 UTC (rev 22151)
@@ -164,6 +164,11 @@
         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);




More information about the cvs-krb5 mailing list