svn commit: r253017 - head/usr.sbin/gssd
Rick Macklem
rmacklem at FreeBSD.org
Mon Jul 8 01:08:58 UTC 2013
Author: rmacklem
Date: Mon Jul 8 01:08:57 2013
New Revision: 253017
URL: http://svnweb.freebsd.org/changeset/base/253017
Log:
Make sure the krb5 status variables are correctly initialized.
Modified:
head/usr.sbin/gssd/gssd.c
Modified: head/usr.sbin/gssd/gssd.c
==============================================================================
--- head/usr.sbin/gssd/gssd.c Mon Jul 8 00:57:12 2013 (r253016)
+++ head/usr.sbin/gssd/gssd.c Mon Jul 8 01:08:57 2013 (r253017)
@@ -1196,6 +1196,7 @@ gssd_get_cc_from_keytab(const char *name
ret = krb5_init_context(&context);
if (ret != 0)
return (ret);
+ opt_ret = cc_ret = kt_ret = cred_ret = 0;
princ_ret = ret = krb5_parse_name(context, name, &principal);
if (ret == 0)
opt_ret = ret = krb5_get_init_creds_opt_alloc(context, &opt);
More information about the svn-src-head
mailing list