From owner-svn-src-all@FreeBSD.ORG Fri Oct 29 19:07:37 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D78B106566B; Fri, 29 Oct 2010 19:07:37 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8D98FC0A; Fri, 29 Oct 2010 19:07:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9TJ7bQS051067; Fri, 29 Oct 2010 19:07:37 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9TJ7bTG051065; Fri, 29 Oct 2010 19:07:37 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201010291907.o9TJ7bTG051065@svn.freebsd.org> From: Edward Tomasz Napierala Date: Fri, 29 Oct 2010 19:07:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214522 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 19:07:37 -0000 Author: trasz Date: Fri Oct 29 19:07:36 2010 New Revision: 214522 URL: http://svn.freebsd.org/changeset/base/214522 Log: Fix uninitialized variable. Found with: Coverity Prevent(tm) CID: 8632 Modified: head/sys/kern/subr_acl_nfs4.c Modified: head/sys/kern/subr_acl_nfs4.c ============================================================================== --- head/sys/kern/subr_acl_nfs4.c Fri Oct 29 18:56:51 2010 (r214521) +++ head/sys/kern/subr_acl_nfs4.c Fri Oct 29 19:07:36 2010 (r214522) @@ -162,7 +162,7 @@ vaccess_acl_nfs4(enum vtype type, uid_t accmode_t priv_granted = 0; int denied, explicitly_denied, access_mask, is_directory, must_be_owner = 0; - mode_t file_mode; + mode_t file_mode = 0; KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND | VEXPLICIT_DENY | VREAD_NAMED_ATTRS | VWRITE_NAMED_ATTRS |