From: Chris Provenzano Date: Mon, 11 Dec 1995 22:01:07 +0000 (+0000) Subject: * kdc_preauth.c return_padata(): Initialize local variable "size" X-Git-Tag: krb5-1.0-beta6~721 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6999af4297234565b583406eceebffdc57bfbb0f;p=krb5.git * kdc_preauth.c return_padata(): Initialize local variable "size" to 0 before using it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7192 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 54a73eeac..85a23b32b 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 11 16:58:31 1995 Chris Provenzano (proven@mit.edu) + + * kdc_preauth.c return_padata(): Initialize local variable "size" + to 0 before using it. + Thu Nov 30 20:57:11 1995 Tom Yu * kdc_preauth.c: #@&^(!! Ultrix cc sucks. Typedef to function diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c index 2e7303f5e..0eb3adcbc 100644 --- a/src/kdc/kdc_preauth.c +++ b/src/kdc/kdc_preauth.c @@ -257,7 +257,7 @@ return_padata(context, client, request, reply, krb5_pa_data ** send_pa; krb5_pa_data * pa = 0; krb5_preauth_systems * ap; - int size; + int size = 0; for (ap = preauth_systems; ap->type != -1; ap++) { if (ap->return_padata)