From owner-svn-src-head@FreeBSD.ORG Mon Jul 8 01:08:58 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1619B77C; Mon, 8 Jul 2013 01:08:58 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 06BB11E92; Mon, 8 Jul 2013 01:08:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6818vUP008811; Mon, 8 Jul 2013 01:08:57 GMT (envelope-from rmacklem@svn.freebsd.org) Received: (from rmacklem@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6818vBT008810; Mon, 8 Jul 2013 01:08:57 GMT (envelope-from rmacklem@svn.freebsd.org) Message-Id: <201307080108.r6818vBT008810@svn.freebsd.org> From: Rick Macklem Date: Mon, 8 Jul 2013 01:08:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253017 - head/usr.sbin/gssd X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 01:08:58 -0000 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);