* kdc_preauth.c return_padata(): Initialize local variable "size"
authorChris Provenzano <proven@mit.edu>
Mon, 11 Dec 1995 22:01:07 +0000 (22:01 +0000)
committerChris Provenzano <proven@mit.edu>
Mon, 11 Dec 1995 22:01:07 +0000 (22:01 +0000)
to 0 before using it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7192 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/kdc_preauth.c

index 54a73eeacad29e4f3ed36bede7573824a51759b2..85a23b32b87b48bb7fabbc8010e3bef0375fdaa4 100644 (file)
@@ -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  <tlyu@dragons-lair.MIT.EDU>
 
        * kdc_preauth.c: #@&^(!! Ultrix cc sucks.  Typedef to function
index 2e7303f5e3d0fe374b4a56bc7606775fab74aa3c..0eb3adcbc2006d828c7b003ab3e00c255f54bc91 100644 (file)
@@ -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)