diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-06-11 17:00:02 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-06-11 17:00:02 +0000 |
commit | 1ccc93502bbbdb0f3743157b90ccf015230c843b (patch) | |
tree | 9e8cf2535847a3f3aa1367f8c2506f834f1aa1c7 /src/lib/krb5/krb/auth_con.c | |
parent | 2fb5be697d2a5b1cfc9e6dd7045d5372b7e573bb (diff) | |
download | krb5-1ccc93502bbbdb0f3743157b90ccf015230c843b.tar.gz krb5-1ccc93502bbbdb0f3743157b90ccf015230c843b.tar.xz krb5-1ccc93502bbbdb0f3743157b90ccf015230c843b.zip |
definition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)
is only the size of the pointer - not the structure size!
auth_con_init: Zero the entire auth_context... With the change in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6041 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/auth_con.c')
-rw-r--r-- | src/lib/krb5/krb/auth_con.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/auth_con.c b/src/lib/krb5/krb/auth_con.c index c58d61cb18..86af54bfff 100644 --- a/src/lib/krb5/krb/auth_con.c +++ b/src/lib/krb5/krb/auth_con.c @@ -12,7 +12,7 @@ krb5_auth_con_init(context, auth_context) if (!*auth_context) return ENOMEM; - memset(*auth_context, 0, sizeof(krb5_auth_context)); + memset(*auth_context, 0, sizeof(struct _krb5_auth_context)); /* Default flags, do time not seq */ (*auth_context)->auth_context_flags = |