to free stack garbage.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5108
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Mar 10 18:32:22 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * kcmd.c (kcmd): Initialize ret_cred to zero so that in case of an
+ error, we don't try to free stack garbage.
+
Fri Mar 10 11:09:34 1995 Chris Provenzano (proven@mit.edu)
* kcmd.c (kcmd()) Use new calling convention for krb5_sendauth().
long oldmask;
#endif
struct sockaddr_in sin, from, local_laddr;
- krb5_creds *get_cred, *ret_cred;
+ krb5_creds *get_cred, *ret_cred = 0;
char c;
int lport = START_PORT;
struct hostent *hp;