In recvauth_common, initialize ap_option. It can't be used
authorGreg Hudson <ghudson@mit.edu>
Thu, 5 Feb 2009 19:50:41 +0000 (19:50 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 5 Feb 2009 19:50:41 +0000 (19:50 +0000)
uninitialized, but you can only deduce that by examining the
relationships between ap_option, problem, and outbuf.

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

src/lib/krb5/krb/recvauth.c

index ce9da12727d7e080ba8b563da2f916b9b2446750..0db05f5a1eed14aa7ef0f463449c3f73b7edc412 100644 (file)
@@ -50,7 +50,7 @@ recvauth_common(krb5_context context,
                krb5_data *version)
 {
     krb5_auth_context    new_auth_context;
-    krb5_flags           ap_option;
+    krb5_flags           ap_option = 0;
     krb5_error_code      retval, problem;
     krb5_data            inbuf;
     krb5_data            outbuf;