Date: Fri, 11 Jun 2010 15:21:12 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r209046 - stable/8/lib/libc/posix1e Message-ID: <201006111521.o5BFLCoM012869@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Jun 11 15:21:12 2010 New Revision: 209046 URL: http://svn.freebsd.org/changeset/base/209046 Log: Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 Approved by: re (kib) Modified: stable/8/lib/libc/posix1e/acl_strip.c Modified: stable/8/lib/libc/posix1e/acl_strip.c ============================================================================== --- stable/8/lib/libc/posix1e/acl_strip.c Fri Jun 11 14:11:24 2010 (r209045) +++ stable/8/lib/libc/posix1e/acl_strip.c Fri Jun 11 15:21:12 2010 (r209046) @@ -46,7 +46,7 @@ static acl_t _nfs4_acl_strip_np(const acl_t aclp, int recalculate_mask) { acl_t newacl; - mode_t mode; + mode_t mode = 0; newacl = acl_init(ACL_MAX_ENTRIES); if (newacl == NULL) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006111521.o5BFLCoM012869>