From ba637638d13572d993f73490be0d4696c19e7d14 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 1 Apr 2011 18:38:10 +0000 Subject: [PATCH] Fix a potential uninitialized free in prepare_error_as() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24779 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_as_req.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2