Initialize auth_context to NULL before calling sendauth()
authorTheodore Tso <tytso@mit.edu>
Sat, 1 Apr 1995 03:16:14 +0000 (03:16 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 1 Apr 1995 03:16:14 +0000 (03:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5336 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/sample/sclient/ChangeLog
src/appl/sample/sclient/sclient.c

index 4e7296c6fda68aedc0af1d3a77b25ed03fd7fc7c..6ecf82b74ad4e394319d3f2605f5d67c420af77e 100644 (file)
@@ -1,3 +1,8 @@
+Fri Mar 24 23:49:22 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * sclient.c (main): Initialize auth_context to NULL before calling
+               sendauth().
+
 Fri Mar 10 11:09:34 1995  Chris Provenzano (proven@mit.edu)
 
         * sclient.c Use new calling convention for krb5_sendauth().
index 2a61b197a07d723674c2f22c96846a4010bb30f9..1b5e87aec183b73e6c7da9b7a12c4a1ee30918f0 100644 (file)
@@ -57,7 +57,7 @@ char *argv[];
     krb5_principal client, server;
     krb5_error *err_ret;
     krb5_ap_rep_enc_part *rep_ret;
-    krb5_auth_context * auth_context;
+    krb5_auth_context * auth_context = 0;
     short xmitlen;
 
     if (argc != 2 && argc != 3) {