summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/recvauth.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-02-05 19:50:41 +0000
committerGreg Hudson <ghudson@mit.edu>2009-02-05 19:50:41 +0000
commit831f20c3d9468b756ee14f746d44fd17016b776c (patch)
tree861b2b986af59a295c185c5f599f8d69f482df00 /src/lib/krb5/krb/recvauth.c
parent5a75bafe6c7f81d83d668ca6184e2242418961c2 (diff)
downloadkrb5-831f20c3d9468b756ee14f746d44fd17016b776c.tar.gz
krb5-831f20c3d9468b756ee14f746d44fd17016b776c.tar.xz
krb5-831f20c3d9468b756ee14f746d44fd17016b776c.zip
In recvauth_common, initialize ap_option. It can't be used
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
Diffstat (limited to 'src/lib/krb5/krb/recvauth.c')
-rw-r--r--src/lib/krb5/krb/recvauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/recvauth.c b/src/lib/krb5/krb/recvauth.c
index ce9da1272..0db05f5a1 100644
--- a/src/lib/krb5/krb/recvauth.c
+++ b/src/lib/krb5/krb/recvauth.c
@@ -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;