Date: Mon, 8 Jul 2013 01:08:57 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253017 - head/usr.sbin/gssd Message-ID: <201307080108.r6818vBT008810@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307080108.r6818vBT008810>