From: Greg Hudson Date: Tue, 20 Jan 2009 18:50:51 +0000 (+0000) Subject: In krb5_rd_rep_dce, initialize repl to NULL to avoid using its X-Git-Tag: krb5-1.7-alpha1~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b9c441757960adc4a1cc64c4211417d9c3dbcbc;p=krb5.git In krb5_rd_rep_dce, initialize repl to NULL to avoid using its initialized value when we take the first goto to clean_scratch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21763 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/rd_rep.c b/src/lib/krb5/krb/rd_rep.c index 1e6e0e1e8..2d495ae8f 100644 --- a/src/lib/krb5/krb/rd_rep.c +++ b/src/lib/krb5/krb/rd_rep.c @@ -151,7 +151,7 @@ krb5_rd_rep_dce(krb5_context context, krb5_auth_context auth_context, krb5_error_code retval; krb5_ap_rep * reply; krb5_data scratch; - krb5_ap_rep_enc_part *repl; + krb5_ap_rep_enc_part *repl = NULL; if (!krb5_is_ap_rep(inbuf)) return KRB5KRB_AP_ERR_MSG_TYPE;