From: Greg Hudson Date: Fri, 1 Apr 2011 18:38:10 +0000 (+0000) Subject: Fix a potential uninitialized free in prepare_error_as() X-Git-Tag: krb5-1.10-alpha1~508 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba637638d13572d993f73490be0d4696c19e7d14;p=krb5.git Fix a potential uninitialized free in prepare_error_as() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24779 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 6c0921cad..da0167630 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -742,7 +742,7 @@ prepare_error_as (struct kdc_request_state *rstate, krb5_kdc_req *request, { krb5_error errpkt; krb5_error_code retval; - krb5_data *scratch, *fast_edata = NULL; + krb5_data *scratch = NULL, *fast_edata = NULL; krb5_pa_data **pa = NULL; errpkt.ctime = request->nonce;