From 066b1f5f4de6531c90fb98d06329437dbe3adb83 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 29 Oct 2009 23:07:33 +0000 Subject: [PATCH] In process_tgs_req, fully initialize e_data since we may copy it in prepare_error_tgs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23093 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_tgs_req.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 71013b584..103a29fb1 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -130,11 +130,10 @@ process_tgs_req(krb5_data *pkt, const krb5_fulladdr *from, struct kdc_request_state *state = NULL; krb5_pa_data *pa_tgs_req; /*points into request*/ krb5_data scratch; - krb5_data e_data; /* backend-provided error data */ + krb5_data e_data = empty_data(); /* backend-provided error data */ reply.padata = 0; /* For cleanup handler */ reply_encpart.enc_padata = 0; - e_data.data = NULL; session_key.contents = NULL; -- 2.26.2